From 1ac23a9359556091b12ed1345737084e3a2f6ae3 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 11 Aug 2016 22:11:34 +0200 Subject: gallium/radeon: assign the highest priority to scratch; make rings second MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit just FYI, the kernel receives priority/4 Acked-by: Edward O'Callaghan Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index be300ac5b18..a52dfe4e732 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -548,11 +548,11 @@ static const char *priority_to_string(enum radeon_bo_priority priority) ITEM(IB2), ITEM(DRAW_INDIRECT), ITEM(INDEX_BUFFER), - ITEM(CP_DMA), ITEM(VCE), ITEM(UVD), ITEM(SDMA_BUFFER), ITEM(SDMA_TEXTURE), + ITEM(CP_DMA), ITEM(USER_SHADER), ITEM(INTERNAL_SHADER), ITEM(CONST_BUFFER), @@ -561,7 +561,6 @@ static const char *priority_to_string(enum radeon_bo_priority priority) ITEM(SAMPLER_BUFFER), ITEM(VERTEX_BUFFER), ITEM(SHADER_RW_BUFFER), - ITEM(SCRATCH_BUFFER), ITEM(COMPUTE_GLOBAL), ITEM(SAMPLER_TEXTURE), ITEM(SHADER_RW_IMAGE), @@ -574,6 +573,7 @@ static const char *priority_to_string(enum radeon_bo_priority priority) ITEM(DCC), ITEM(HTILE), ITEM(SHADER_RINGS), + ITEM(SCRATCH_BUFFER), }; #undef ITEM -- cgit v1.2.3