[Intel-gfx] [PATCH 7/7] drm/i915/mtl+: Don't enable the AUX_IO power for non-eDP port main links

Imre Deak
2022-11-02T17:15:59Z

MTL+ requires the AUX_IO power for the main link only on eDP, so don't
enable it in other cases.

Signed-off-by: Imre Deak <imre.deak@intel.com>
---
drivers/gpu/drm/i915/display/intel_ddi.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index 7453772d2073d..8be52ff06e999 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -867,8 +867,9 @@ intel_ddi_main_link_aux_domain(struct intel_digital_port *dig_port,
*/
if (intel_dp_is_edp(&dig_port->dp))
return intel_display_power_aux_io_domain(i915, dig_port->aux_ch);
- else if (intel_crtc_has_dp_encoder(crtc_state) ||
- intel_phy_is_tc(i915, phy))
+ else if (DISPLAY_VER(i915) < 14 &&
+ (intel_crtc_has_dp_encoder(crtc_state) ||
+ intel_phy_is_tc(i915, phy)))
return intel_aux_power_domain(dig_port);
else
return POWER_DOMAIN_INVALID;
--
2.37.1