This is v2 of [1] addressing the review comments from Ville and Jani: - Select the AUX power domain based on PSR capability instead of is_edp(). - Split out change using AUX vs AUX_IO on port A without PSR. - Don't enable AUX_IO on eDP w/o PSR and external DP combo PHY ports. - Simplify intel_display_power_(get/put)_in_set(). [1] https://lore.kernel.org/intel-gfx/20221102171530.3261282-1-imre.deak@xxxxxxxxx/T/#t Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Cc: Jani Nikula <jani.nikula@xxxxxxxxx> Imre Deak (9): drm/i915: Allocate power domain set wakerefs dynamically drm/i915: Move the POWER_DOMAIN_AUX_IO_A definition to its logical place drm/i915: Use the AUX_IO power domain only for eDP/PSR port drm/i915/tgl+: Enable display DC power states on all eDP ports drm/i915: Add missing AUX_IO_A power domain->well mappings drm/i915: Add missing DC_OFF power domain->well mappings drm/i915: Factor out function to get/put AUX_IO power for main link drm/i915: Don't enable the AUX_IO power for combo-PHY external DP port main links drm/i915/mtl+: Don't enable the AUX_IO power for non-eDP port main links drivers/gpu/drm/i915/display/intel_crtc.c | 4 + drivers/gpu/drm/i915/display/intel_ddi.c | 89 +++++++----- .../drm/i915/display/intel_display_power.c | 129 ++++++++++++++---- .../drm/i915/display/intel_display_power.h | 14 +- .../i915/display/intel_display_power_map.c | 69 ++++++++-- 5 files changed, 237 insertions(+), 68 deletions(-) -- 2.37.1