projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radeonsi: release tokens after creating the shader program
[mesa.git]
/
src
/
gallium
/
drivers
/
radeonsi
/
si_test_dma_perf.c
diff --git
a/src/gallium/drivers/radeonsi/si_test_dma_perf.c
b/src/gallium/drivers/radeonsi/si_test_dma_perf.c
index be2ad079e1a946d41862877e130a81cdca9bbbe9..657c4ebeff8910f322682525c5f5458c6bcbc026 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_test_dma_perf.c
+++ b/
src/gallium/drivers/radeonsi/si_test_dma_perf.c
@@
-178,10
+178,11
@@
void si_test_dma_perf(struct si_screen *sscreen)
if (test_cp) {
/* CP DMA */
if (is_copy) {
if (test_cp) {
/* CP DMA */
if (is_copy) {
- si_copy_buffer(sctx, dst, src, 0, 0, size, 0,
- cache_policy);
+ si_c
p_dma_c
opy_buffer(sctx, dst, src, 0, 0, size, 0,
+
SI_COHERENCY_NONE,
cache_policy);
} else {
} else {
- si_cp_dma_clear_buffer(sctx, dst, 0, size, clear_value,
+ si_cp_dma_clear_buffer(sctx, sctx->gfx_cs, dst, 0, size,
+ clear_value, 0,
SI_COHERENCY_NONE, cache_policy);
}
} else if (test_sdma) {
SI_COHERENCY_NONE, cache_policy);
}
} else if (test_sdma) {
@@
-191,7
+192,7
@@
void si_test_dma_perf(struct si_screen *sscreen)
u_box_1d(0, size, &box);
sctx->dma_copy(ctx, dst, 0, 0, 0, 0, src, 0, &box);
} else {
u_box_1d(0, size, &box);
sctx->dma_copy(ctx, dst, 0, 0, 0, 0, src, 0, &box);
} else {
- s
ctx->
dma_clear_buffer(sctx, dst, 0, size, clear_value);
+ s
i_s
dma_clear_buffer(sctx, dst, 0, size, clear_value);
}
} else {
/* Compute */
}
} else {
/* Compute */