]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Extend Wa_1406941453 to adl-p
authorJosé Roberto de Souza <jose.souza@intel.com>
Thu, 22 Jul 2021 19:20:41 +0000 (12:20 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 23 Jul 2021 17:24:19 +0000 (10:24 -0700)
Workaround also needed for alderlake-P.

HSDES: 14010801662
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210722192041.92346-1-jose.souza@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c

index 247f0331ebee39f0d87ee8684526b9c7cd28fb37..b84d1d816898f18a1b903a73c58bff5ec73ab0dd 100644 (file)
@@ -1583,8 +1583,8 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)
        }
 
        if (IS_DG1(i915) || IS_ROCKETLAKE(i915) || IS_TIGERLAKE(i915) ||
-           IS_ALDERLAKE_S(i915)) {
-               /* Wa_1406941453:tgl,rkl,dg1,adl-s */
+           IS_ALDERLAKE_S(i915) || IS_ALDERLAKE_P(i915)) {
+               /* Wa_1406941453:tgl,rkl,dg1,adl-s,adl-p */
                wa_masked_en(wal,
                             GEN10_SAMPLER_MODE,
                             ENABLE_SMALLPL);