]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/tgl: Do not apply WaIncreaseDefaultTLBEntries from GEN12 onwards
authorMichel Thierry <michel.thierry@intel.com>
Fri, 23 Aug 2019 08:20:48 +0000 (01:20 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 27 Aug 2019 15:47:31 +0000 (08:47 -0700)
Workaround no longer needed (plus L3_LRA_1_GPGPU doesn't exist).

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823082055.5992-17-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c

index 0db82921fb38bdba7103a56ec6ec82def8b32ebb..c94dfa5622474bc83ec528d2d5f0a8bf944eafa1 100644 (file)
@@ -2029,7 +2029,7 @@ static void gtt_write_workarounds(struct intel_gt *gt)
                intel_uncore_write(uncore,
                                   GEN8_L3_LRA_1_GPGPU,
                                   GEN9_L3_LRA_1_GPGPU_DEFAULT_VALUE_BXT);
-       else if (INTEL_GEN(i915) >= 9)
+       else if (INTEL_GEN(i915) >= 9 && INTEL_GEN(i915) <= 11)
                intel_uncore_write(uncore,
                                   GEN8_L3_LRA_1_GPGPU,
                                   GEN9_L3_LRA_1_GPGPU_DEFAULT_VALUE_SKL);