]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Make power domain masks 64 bit long
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 9 Feb 2017 09:31:21 +0000 (11:31 +0200)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 10 Feb 2017 09:22:17 +0000 (11:22 +0200)
commitd8fc70b7367b86ca14e825f8508f91bbbf237f3c
tree4a387698f7baa8a7ca623fa10e91a48bf372aa75
parent949e8ab3a94befd514eb79f2535f6017d8b4488f
drm/i915: Make power domain masks 64 bit long

There are currently 30 power domains, which puts us pretty close to the
limit with 32 bit masks. Prepare for the future and increase the limit
to 64 bit.

v2: Rebase
v3: s/unsigned long long/u64/ (Joonas)
    Allow the 64th bit of the mask to be used. (Joonas)

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170209093121.24410-1-ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c