From 741a4325df3a9c605bf85d2429f4af97a755e407 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 28 Jan 2019 16:31:54 -0800 Subject: turnip: add tu_cs_sanity_check It replaces tu_cs_reserve_space_assert and can be called at any time to sanity check tu_cs. --- src/freedreno/vulkan/tu_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/freedreno/vulkan/tu_cmd_buffer.c') diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c index 346f5f29ff5..541a37b6dde 100644 --- a/src/freedreno/vulkan/tu_cmd_buffer.c +++ b/src/freedreno/vulkan/tu_cmd_buffer.c @@ -511,7 +511,7 @@ tu6_init_hw(struct tu_cmd_buffer *cmd) tu_cs_emit_pkt4(cs, REG_A6XX_RB_LRZ_CNTL, 1); tu_cs_emit(cs, 0x00000000); - tu_cs_reserve_space_assert(cs); + tu_cs_sanity_check(cs); } static void -- cgit v1.2.3