Mesa (main): freedreno/fdl6: Skip redundant setting of TILE_ALL for NV12.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 11 00:48:00 UTC 2021


Module: Mesa
Branch: main
Commit: 94e4cd4d83601e71c77b8414fef776dee69b5e93
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94e4cd4d83601e71c77b8414fef776dee69b5e93

Author: Emma Anholt <emma at anholt.net>
Date:   Mon Oct 18 12:58:56 2021 -0700

freedreno/fdl6: Skip redundant setting of TILE_ALL for NV12.

We already respect the tile_all flag above, and it should be set in tu.
Fixes a mismatch between fdl6_view_init() and gallium.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13443>

---

 src/freedreno/fdl/fd6_view.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/freedreno/fdl/fd6_view.c b/src/freedreno/fdl/fd6_view.c
index 9319d93b0d3..fb5acdf36e5 100644
--- a/src/freedreno/fdl/fd6_view.c
+++ b/src/freedreno/fdl/fd6_view.c
@@ -219,7 +219,6 @@ fdl6_view_init(struct fdl6_view *view, const struct fdl_layout **layouts,
 
       uint64_t base_addr[3];
 
-      view->descriptor[3] |= A6XX_TEX_CONST_3_TILE_ALL;
       if (ubwc_enabled) {
          view->descriptor[3] |= A6XX_TEX_CONST_3_FLAG;
          /* no separate ubwc base, image must have the expected layout */



More information about the mesa-commit mailing list