]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move the HSW power well flags to a common bitfield
authorImre Deak <imre.deak@intel.com>
Thu, 14 Apr 2022 21:06:44 +0000 (00:06 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 20 Apr 2022 17:42:12 +0000 (20:42 +0300)
commitba880e8e6278232a46ddda9dad745a942a42dd45
tree17592ace1439904fe36e4bc12500ba63bb3bd0be
parentfafa3ac641a3e4f594d9757debe859aed6e518f9
drm/i915: Move the HSW power well flags to a common bitfield

Save some space by grouping the HSW power well descriptor flags along
with other flags in one bitfield.

This change also lets simplifying the definition of power well
descriptors sharing the same flags in an upcoming patch.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220414210657.1785773-5-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power_map.c
drivers/gpu/drm/i915/display/intel_display_power_well.c
drivers/gpu/drm/i915/display/intel_display_power_well.h