aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Nautiyal <[email protected]>2022-11-27 10:52:32 +0530
committerImre Deak <[email protected]>2022-12-21 19:38:37 +0200
commit65e75eda82d8857ab8732b98ead6997a8afeab4a (patch)
treed0333daac0e45050b846ce11c80fe5a88e8bc6fe
parent5add4575c298546ed67162c6db5ed8aa4886f803 (diff)
drm/i915/ddi: Add missing wait-for-active for HDMI aligning with bspec updates
After enabling DDI_BUF_CTL, wait for DDI_BUF_CTL to be active. Bspec:4232,53339,49191,54145 Signed-off-by: Ankit Nautiyal <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/i915/display/intel_ddi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index f2fb0e6e6259..1f5a471a0adf 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -2946,6 +2946,8 @@ static void intel_enable_ddi_hdmi(struct intel_atomic_state *state,
}
intel_de_write(dev_priv, DDI_BUF_CTL(port), buf_ctl);
+ intel_wait_ddi_buf_active(dev_priv, port);
+
intel_audio_codec_enable(encoder, crtc_state, conn_state);
}