From 79bd1d4f8b9f176b099854c6954960dc7fc53b02 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 7 Jun 2017 00:16:46 +0200 Subject: radeonsi/gfx9: keep reusing the same buffer/address for the gfx9 flush fence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit instead of using a monotonic suballocator v2: initialize the memory at context creation Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_pipe.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/radeonsi/si_pipe.h') diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 1c174083819..bd724e80a06 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -263,6 +263,8 @@ struct si_context { struct si_screen *screen; LLVMTargetMachineRef tm; /* only non-threaded compilation */ struct si_shader_ctx_state fixed_func_tcs_shader; + struct r600_resource *wait_mem_scratch; + unsigned wait_mem_number; struct radeon_winsys_cs *ce_ib; struct radeon_winsys_cs *ce_preamble_ib; -- cgit v1.2.3