drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12
authorSwathi Dhanavanthri <swathi.dhanavanthri@intel.com>
Tue, 17 May 2022 20:13:38 +0000 (13:13 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 19 May 2022 16:47:35 +0000 (09:47 -0700)
Signed-off-by: Swathi Dhanavanthri <swathi.dhanavanthri@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220517201338.7291-1-swathi.dhanavanthri@intel.com
drivers/gpu/drm/i915/intel_pm.c

index 594ab59..b3a5c3f 100644 (file)
@@ -7494,10 +7494,9 @@ static void xehpsdv_init_clock_gating(struct drm_i915_private *dev_priv)
 
 static void dg2_init_clock_gating(struct drm_i915_private *i915)
 {
-       /* Wa_22010954014:dg2_g10 */
-       if (IS_DG2_G10(i915))
-               intel_uncore_rmw(&i915->uncore, XEHP_CLOCK_GATE_DIS, 0,
-                                SGSI_SIDECLK_DIS);
+       /* Wa_22010954014:dg2 */
+       intel_uncore_rmw(&i915->uncore, XEHP_CLOCK_GATE_DIS, 0,
+                        SGSI_SIDECLK_DIS);
 
        /*
         * Wa_14010733611:dg2_g10