From: Jonathan Marek Date: Mon, 16 Dec 2019 16:06:36 +0000 (-0500) Subject: turnip: don't set LRZ enable at end of renderpass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edfc4daab822aa539416badba4af119ca75b5d56;p=mesa.git turnip: don't set LRZ enable at end of renderpass Fixes hanging with cases that use more than one renderpass. Signed-off-by: Jonathan Marek Reviewed-by: Eric Anholt Tested-by: Marge Bot Part-of: --- diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c index 0c67ea983db..71bb2639517 100644 --- a/src/freedreno/vulkan/tu_cmd_buffer.c +++ b/src/freedreno/vulkan/tu_cmd_buffer.c @@ -1428,7 +1428,7 @@ tu6_render_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs) } tu_cs_emit_pkt4(cs, REG_A6XX_GRAS_LRZ_CNTL, 1); - tu_cs_emit(cs, A6XX_GRAS_LRZ_CNTL_ENABLE | A6XX_GRAS_LRZ_CNTL_UNK3); + tu_cs_emit(cs, 0); tu6_emit_lrz_flush(cmd, cs);