projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
637c7aa
)
drm/i915/mtl+: Don't enable the AUX_IO power for non-eDP port main links
author
Imre Deak
<imre.deak@intel.com>
Mon, 14 Nov 2022 12:22:51 +0000
(14:22 +0200)
committer
Imre Deak
<imre.deak@intel.com>
Fri, 18 Nov 2022 15:29:19 +0000
(17:29 +0200)
MTL+ requires the AUX_IO power for the main link only on eDP, so don't
enable it in other cases.
v2:
- Rebased on checking intel_encoder_can_psr() instead of crtc->has_psr.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20221114122251.21327-10-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_ddi.c
b/drivers/gpu/drm/i915/display/intel_ddi.c
index
42f3960
..
0f1ec2a
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/
drivers/gpu/drm/i915/display/intel_ddi.c
@@
-869,8
+869,9
@@
intel_ddi_main_link_aux_domain(struct intel_digital_port *dig_port,
*/
if (intel_encoder_can_psr(&dig_port->base))
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;