Mesa (master): etnaviv: enable TS, but disable autodisable

Lucas Stach lynxeye at kemper.freedesktop.org
Tue Apr 11 14:54:56 UTC 2017


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

Author: Lucas Stach <l.stach at pengutronix.de>
Date:   Mon Nov 21 12:32:15 2016 +0100

etnaviv: enable TS, but disable autodisable

Autodisable seems to cause missed rendering in some cases, but
otherwise TS seems to work properly.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>

---

 src/gallium/drivers/etnaviv/etnaviv_screen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index 0bd44004d9..8a0051dfa6 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
@@ -748,8 +748,8 @@ etna_screen_create(struct etna_device *dev, struct etna_gpu *gpu,
 
    etna_mesa_debug = debug_get_option_etna_mesa_debug();
 
-   /* FIXME: Disable tile status for stability at the moment */
-   etna_mesa_debug |= ETNA_DBG_NO_TS;
+   /* Disable autodisable for correct rendering with TS */
+   etna_mesa_debug |= ETNA_DBG_NO_AUTODISABLE;
 
    screen->pipe = etna_pipe_new(gpu, ETNA_PIPE_3D);
    if (!screen->pipe) {




More information about the mesa-commit mailing list