diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2019-09-16 23:29:48 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2019-09-20 15:35:17 -0700 |
commit | aa7ac32976fbce522cb36455e1c3748a0cddba80 (patch) | |
tree | 167e0604d0f6a13a858122d08824c0a73ed219e0 | |
parent | 57c894334ee14c7075bc8c1fb8ff180631ccb527 (diff) | |
download | mesa-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.c | 2 |
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): * |