Skip to content

Commit 7605d0e

Browse files
committed
drm/i915/dp: Call intel_dp_sync_state() always for DDI DP encoders
A follow-up change will need to resume DP tunnels during system resume, so call intel_dp_sync_state() always for DDI encoders, so this function can resume the tunnels for all DP connectors. Reviewed-by: Uma Shankar <uma.shankar@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240220211841.448846-19-imre.deak@intel.com
1 parent 6496dbe commit 7605d0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/i915/display/intel_ddi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4151,7 +4151,7 @@ static void intel_ddi_sync_state(struct intel_encoder *encoder,
41514151
intel_tc_port_sanitize_mode(enc_to_dig_port(encoder),
41524152
crtc_state);
41534153

4154-
if (crtc_state && intel_crtc_has_dp_encoder(crtc_state))
4154+
if (intel_encoder_is_dp(encoder))
41554155
intel_dp_sync_state(encoder, crtc_state);
41564156
}
41574157

0 commit comments

Comments
 (0)