diff mbox series

[2/2] drm/i915/dp: fix DP infoframe init for PORT_A on gen12+

Message ID 20191122134603.11496-2-kai.vehmanen@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series [1/2] drm/i915/dp: fix DP audio for PORT_A on gen12+ | expand

Commit Message

Kai Vehmanen Nov. 22, 2019, 1:46 p.m. UTC
Starting with gen12, PORT_A can be also connected to DP
transcoder. Update code in intel_dp_init() to take this
into account.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index c50cf809b44c..5d4a9e83342a 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -7596,7 +7596,7 @@  bool intel_dp_init(struct drm_i915_private *dev_priv,
 
 	intel_dig_port->hpd_pulse = intel_dp_hpd_pulse;
 
-	if (port != PORT_A)
+	if (port != PORT_A || INTEL_GEN(dev_priv) >=  12)
 		intel_infoframe_init(intel_dig_port);
 
 	intel_dig_port->aux_ch = intel_bios_port_aux_ch(dev_priv, port);