projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3296b
)
radeonsi: use SDMA in rvid_buffer_clear on CIK-VI
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 24 Dec 2016 22:00:27 +0000
(23:00 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 5 Jan 2017 17:43:23 +0000
(18:43 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_video.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_video.c
b/src/gallium/drivers/radeon/radeon_video.c
index 59e735b47444cd7ab6a11338706dc1aa11bf9d2a..ecafaf8b54651caba65114c65adf48ccf909600e 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_video.c
+++ b/
src/gallium/drivers/radeon/radeon_video.c
@@
-129,8
+129,8
@@
void rvid_clear_buffer(struct pipe_context *context, struct rvid_buffer* buffer)
{
struct r600_common_context *rctx = (struct r600_common_context*)context;
- rctx->
clear_buffer(context, &buffer->res->b.b, 0, buffer->res->buf->size
,
-
0, R600_COHERENCY_NONE
);
+ rctx->
dma_clear_buffer(context, &buffer->res->b.b, 0
,
+
buffer->res->buf->size, 0
);
context->flush(context, NULL, 0);
}