freedreno/fdl6: Skip redundant setting of TILE_ALL for NV12.
authorEmma Anholt <emma@anholt.net>
Mon, 18 Oct 2021 19:58:56 +0000 (12:58 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 11 Nov 2021 00:10:57 +0000 (00:10 +0000)
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

index 9319d93..fb5acdf 100644 (file)
@@ -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 */