drm/i915/mtl: Enable TC ports
authorMika Kahola <mika.kahola@intel.com>
Fri, 28 Apr 2023 09:54:33 +0000 (12:54 +0300)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 28 Apr 2023 21:52:02 +0000 (14:52 -0700)
Finally, we can enable TC ports for Meteorlake.

Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230428095433.4109054-14-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_display.c

index 0b9ae5759ffa403acbe59b191902b399bcb6bfa0..3d3483e6f83638d39a5b297e16561a0e7e026885 100644 (file)
@@ -7336,9 +7336,12 @@ void intel_setup_outputs(struct drm_i915_private *dev_priv)
                return;
 
        if (IS_METEORLAKE(dev_priv)) {
-               /* TODO: initialize TC ports as well */
                intel_ddi_init(dev_priv, PORT_A);
                intel_ddi_init(dev_priv, PORT_B);
+               intel_ddi_init(dev_priv, PORT_TC1);
+               intel_ddi_init(dev_priv, PORT_TC2);
+               intel_ddi_init(dev_priv, PORT_TC3);
+               intel_ddi_init(dev_priv, PORT_TC4);
        } else if (IS_DG2(dev_priv)) {
                intel_ddi_init(dev_priv, PORT_A);
                intel_ddi_init(dev_priv, PORT_B);