]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/rkl: Wa_1408330847 no longer applies to RKL
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 17 Jul 2021 05:14:25 +0000 (22:14 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 21 Jul 2021 17:46:43 +0000 (10:46 -0700)
RKL doesn't have PSR2 support, so PSR2-related workarounds no longer
apply.

Bspec: 53273
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210717051426.4120328-7-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_psr.c

index 7218a5f6a1b38bb1faac309cfc3b7ce6f0c239f1..13d31247d2f3b52c9fd364aa25d263e394a0095a 100644 (file)
@@ -594,9 +594,8 @@ static void hsw_activate_psr2(struct intel_dp *intel_dp)
                val |= EDP_PSR2_SU_SDP_SCANLINE;
 
        if (intel_dp->psr.psr2_sel_fetch_enabled) {
-               /* WA 1408330847 */
-               if (IS_TGL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0) ||
-                   IS_RKL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0))
+               /* Wa_1408330847 */
+               if (IS_TGL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0))
                        intel_de_rmw(dev_priv, CHICKEN_PAR1_1,
                                     DIS_RAM_BYPASS_PSR2_MAN_TRACK,
                                     DIS_RAM_BYPASS_PSR2_MAN_TRACK);
@@ -1345,10 +1344,9 @@ static void intel_psr_disable_locked(struct intel_dp *intel_dp)
        intel_psr_exit(intel_dp);
        intel_psr_wait_exit_locked(intel_dp);
 
-       /* W1408330847 */
+       /* Wa_1408330847 */
        if (intel_dp->psr.psr2_sel_fetch_enabled &&
-           (IS_TGL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0) ||
-            IS_RKL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0)))
+           IS_TGL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_A0))
                intel_de_rmw(dev_priv, CHICKEN_PAR1_1,
                             DIS_RAM_BYPASS_PSR2_MAN_TRACK, 0);