summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2019-09-16 23:29:48 -0700
committerKenneth Graunke <kenneth@whitecape.org>2019-09-20 15:35:17 -0700
commitaa7ac32976fbce522cb36455e1c3748a0cddba80 (patch)
tree167e0604d0f6a13a858122d08824c0a73ed219e0
parent57c894334ee14c7075bc8c1fb8ff180631ccb527 (diff)
downloadmesa-aa7ac32976fbce522cb36455e1c3748a0cddba80.tar.gz
isl: Drop WaDisableSamplerL2BypassForTextureCompressedFormats on Gen11
Gen11 doesn't require us to bypass the L2 cache for BC* images anymore. The documentation is a bit hard to follow on this point, but the Windows driver clearly only applies this workaround on Gen9, and their commit history indicates that this was an intentional change to drop the workaround for Gen11+. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
-rw-r--r--src/intel/isl/isl_surface_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c
index c7d617fe911..d942d736290 100644
--- a/src/intel/isl/isl_surface_state.c
+++ b/src/intel/isl/isl_surface_state.c
@@ -587,7 +587,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
}
#endif
-#if GEN_GEN >= 8
+#if GEN_GEN >= 8 && GEN_GEN < 11
/* From the CHV PRM, Volume 2d, page 321 (RENDER_SURFACE_STATE dword 0
* bit 9 "Sampler L2 Bypass Mode Disable" Programming Notes):
*