OSDN Git Service

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)
commit6a006ee93ff829dddce8e82b4becef20f74db885
tree17592ace1439904fe36e4bc12500ba63bb3bd0be
parent92f6d062ddc6cb7a6c44e0f45d7ca9ceb82a0bbd
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