drm/i915: Move the dg2 fixed_enable_delay power well param to a common bitfield
authorImre Deak <imre.deak@intel.com>
Thu, 14 Apr 2022 21:06:43 +0000 (00:06 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 20 Apr 2022 17:42:11 +0000 (20:42 +0300)
commit92f6d062ddc6cb7a6c44e0f45d7ca9ceb82a0bbd
tree03ebbcac67caf3a61bac72e66fb3cfa72c09d286
parent323286c81245b3ee31f495367e51d9ee8431bf13
drm/i915: Move the dg2 fixed_enable_delay power well param to a common bitfield

The DG2 fixed delay duration is always 600usec, so save some space in
the power well descriptors by converting the parameter to a flag. While
at it also use a bitfield for both the always_on and fixed_enable_delay
flag.

This change also lets simplifying the definiton of power wells 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-4-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