Mesa (master): isl: Drop WaDisableSamplerL2BypassForTextureCompressedFormats on Gen11

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Sep 20 22:35:50 UTC 2019


Module: Mesa
Branch: master
Commit: aa7ac32976fbce522cb36455e1c3748a0cddba80
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa7ac32976fbce522cb36455e1c3748a0cddba80

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Sep 16 23:29:48 2019 -0700

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 at jlekstrand.net>

---

 src/intel/isl/isl_surface_state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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):
     *




More information about the mesa-commit mailing list