From 9009516501c591c28121bac8dfbc0042ad51eceb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 11 Aug 2016 22:08:51 +0200 Subject: [PATCH] gallium/winsys: re-number winsys priority flags MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit free 60..63, move CP_DMA up Acked-by: Edward O'Callaghan Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/radeon_winsys.h | 29 ++++++++++------------ 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index e4d669f7e7d..8a98ebf69c4 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -180,43 +180,40 @@ enum radeon_bo_priority { RADEON_PRIO_DRAW_INDIRECT, RADEON_PRIO_INDEX_BUFFER, - RADEON_PRIO_CP_DMA = 8, - - RADEON_PRIO_VCE = 12, + RADEON_PRIO_VCE = 8, RADEON_PRIO_UVD, RADEON_PRIO_SDMA_BUFFER, RADEON_PRIO_SDMA_TEXTURE, - RADEON_PRIO_USER_SHADER = 16, + RADEON_PRIO_CP_DMA = 12, + RADEON_PRIO_USER_SHADER, RADEON_PRIO_INTERNAL_SHADER, /* fetch shader, etc. */ - /* gap: 20 */ - - RADEON_PRIO_CONST_BUFFER = 24, + RADEON_PRIO_CONST_BUFFER = 16, RADEON_PRIO_DESCRIPTORS, RADEON_PRIO_BORDER_COLORS, - RADEON_PRIO_SAMPLER_BUFFER = 28, + RADEON_PRIO_SAMPLER_BUFFER = 20, RADEON_PRIO_VERTEX_BUFFER, - RADEON_PRIO_SHADER_RW_BUFFER = 32, + RADEON_PRIO_SHADER_RW_BUFFER = 24, RADEON_PRIO_SCRATCH_BUFFER, RADEON_PRIO_COMPUTE_GLOBAL, - RADEON_PRIO_SAMPLER_TEXTURE = 36, + RADEON_PRIO_SAMPLER_TEXTURE = 28, RADEON_PRIO_SHADER_RW_IMAGE, - RADEON_PRIO_SAMPLER_TEXTURE_MSAA = 40, + RADEON_PRIO_SAMPLER_TEXTURE_MSAA = 32, - RADEON_PRIO_COLOR_BUFFER = 44, + RADEON_PRIO_COLOR_BUFFER = 36, - RADEON_PRIO_DEPTH_BUFFER = 48, + RADEON_PRIO_DEPTH_BUFFER = 40, - RADEON_PRIO_COLOR_BUFFER_MSAA = 52, + RADEON_PRIO_COLOR_BUFFER_MSAA = 44, - RADEON_PRIO_DEPTH_BUFFER_MSAA = 56, + RADEON_PRIO_DEPTH_BUFFER_MSAA = 48, - RADEON_PRIO_CMASK = 60, + RADEON_PRIO_CMASK = 52, RADEON_PRIO_DCC, RADEON_PRIO_HTILE, RADEON_PRIO_SHADER_RINGS, -- 2.30.2