diff options
author | Marek Olšák <[email protected]> | 2016-08-11 22:11:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-17 14:15:29 +0200 |
commit | 1ac23a9359556091b12ed1345737084e3a2f6ae3 (patch) | |
tree | 8300f94fa66c3630d3dd4f343c847cafb737129c /src/gallium/drivers/radeon/radeon_winsys.h | |
parent | 9009516501c591c28121bac8dfbc0042ad51eceb (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/radeon/radeon_winsys.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_winsys.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index 8a98ebf69c4..c65b9a4a3d4 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -197,7 +197,6 @@ enum radeon_bo_priority { RADEON_PRIO_VERTEX_BUFFER, RADEON_PRIO_SHADER_RW_BUFFER = 24, - RADEON_PRIO_SCRATCH_BUFFER, RADEON_PRIO_COMPUTE_GLOBAL, RADEON_PRIO_SAMPLER_TEXTURE = 28, @@ -216,7 +215,10 @@ enum radeon_bo_priority { RADEON_PRIO_CMASK = 52, RADEON_PRIO_DCC, RADEON_PRIO_HTILE, - RADEON_PRIO_SHADER_RINGS, + + RADEON_PRIO_SHADER_RINGS = 56, + + RADEON_PRIO_SCRATCH_BUFFER = 60, /* 63 is the maximum value */ }; |