summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-11 22:11:34 +0200
committerMarek Olšák <[email protected]>2016-08-17 14:15:29 +0200
commit1ac23a9359556091b12ed1345737084e3a2f6ae3 (patch)
tree8300f94fa66c3630d3dd4f343c847cafb737129c /src/gallium/drivers/radeonsi
parent9009516501c591c28121bac8dfbc0042ad51eceb (diff)
gallium/radeon: assign the highest priority to scratch; make rings second
just FYI, the kernel receives priority/4 Acked-by: Edward O'Callaghan <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_debug.c4
1 files changed, 2 insertions, 2 deletions
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