summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-11 22:08:51 +0200
committerMarek Olšák <[email protected]>2016-08-17 12:24:35 +0200
commit9009516501c591c28121bac8dfbc0042ad51eceb (patch)
tree14f8f689d192ca64a11823dba77940f8fededf9f /src/gallium
parent95020c6dfd74d0ce35c0f0ce89f313ad266ba721 (diff)
gallium/winsys: re-number winsys priority flags
free 60..63, move CP_DMA up Acked-by: Edward O'Callaghan <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/radeon_winsys.h29
1 files 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,