projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radeonsi: split si_clear_buffer to remove enum si_method
[mesa.git]
/
src
/
gallium
/
drivers
/
radeonsi
/
si_dma_cs.c
diff --git
a/src/gallium/drivers/radeonsi/si_dma_cs.c
b/src/gallium/drivers/radeonsi/si_dma_cs.c
index a0dec39b6bb7fe5c56c79f5d74874c247ac71e4e..3bb769309e3d8ade29d2b948b3337b0068c443f0 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_dma_cs.c
+++ b/
src/gallium/drivers/radeonsi/si_dma_cs.c
@@
-28,7
+28,7
@@
static void si_dma_emit_wait_idle(struct si_context *sctx)
{
struct radeon_cmdbuf *cs = sctx->dma_cs;
{
struct radeon_cmdbuf *cs = sctx->dma_cs;
- /* NOP waits for idle
on Evergreen and later
. */
+ /* NOP waits for idle. */
if (sctx->chip_class >= CIK)
radeon_emit(cs, 0x00000000); /* NOP */
else
if (sctx->chip_class >= CIK)
radeon_emit(cs, 0x00000000); /* NOP */
else
@@
-93,13
+93,11
@@
void si_need_dma_space(struct si_context *ctx, unsigned num_dw,
if (dst) {
radeon_add_to_buffer_list(ctx, ctx->dma_cs, dst,
if (dst) {
radeon_add_to_buffer_list(ctx, ctx->dma_cs, dst,
- RADEON_USAGE_WRITE,
- RADEON_PRIO_SDMA_BUFFER);
+ RADEON_USAGE_WRITE, 0);
}
if (src) {
radeon_add_to_buffer_list(ctx, ctx->dma_cs, src,
}
if (src) {
radeon_add_to_buffer_list(ctx, ctx->dma_cs, src,
- RADEON_USAGE_READ,
- RADEON_PRIO_SDMA_BUFFER);
+ RADEON_USAGE_READ, 0);
}
/* this function is called before all DMA calls, so increment this. */
}
/* this function is called before all DMA calls, so increment this. */