]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/i915/bmg: Extend DG2 tc check to future
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Tue, 30 Apr 2024 17:28:35 +0000 (10:28 -0700)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 3 May 2024 19:34:04 +0000 (12:34 -0700)
Discrete cards use the Port numbers TC1-4 for the offsets. The regular
flow for type-c subsystem port initialization can be skipped. This check
is present in DG2. Extend this to future discrete products.

Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240430172850.1881525-5-radhakrishna.sripada@intel.com
drivers/gpu/drm/i915/display/intel_display.c

index ee862f5d0ff4398e9cf3ab52ca83abf5d30e432f..c62ef56ca0dca16ab080ca3c89e96e213ab4b358 100644 (file)
@@ -1894,11 +1894,10 @@ bool intel_phy_is_combo(struct drm_i915_private *dev_priv, enum phy phy)
 bool intel_phy_is_tc(struct drm_i915_private *dev_priv, enum phy phy)
 {
        /*
-        * DG2's "TC1", although TC-capable output, doesn't share the same flow
-        * as other platforms on the display engine side and rather rely on the
-        * SNPS PHY, that is programmed separately
+        * Discrete GPU phy's are not attached to FIA's to support TC
+        * subsystem Legacy or non-legacy, and only support native DP/HDMI
         */
-       if (IS_DG2(dev_priv))
+       if (IS_DGFX(dev_priv))
                return false;
 
        if (DISPLAY_VER(dev_priv) >= 13)