From: Kenneth Graunke Date: Tue, 17 Sep 2019 06:29:48 +0000 (-0700) Subject: isl: Drop WaDisableSamplerL2BypassForTextureCompressedFormats on Gen11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa7ac32976fbce522cb36455e1c3748a0cddba80;p=mesa.git 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 --- 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): *