projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1efc9d
)
radeonsi: use the correct buffer size in si_vid_clear_buffer
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 8 Jul 2019 18:57:42 +0000
(14:57 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 20 Jul 2019 00:16:19 +0000
(20:16 -0400)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.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
06f0d13
..
7777f88
100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_video.c
+++ b/
src/gallium/drivers/radeon/radeon_video.c
@@
-122,7
+122,7
@@
void si_vid_clear_buffer(struct pipe_context *context, struct rvid_buffer* buffe
{
struct si_context *sctx = (struct si_context*)context;
- si_sdma_clear_buffer(sctx, &buffer->res->b.b, 0, buffer->res->b
uf->size
, 0);
+ si_sdma_clear_buffer(sctx, &buffer->res->b.b, 0, buffer->res->b
.b.width0
, 0);
context->flush(context, NULL, 0);
}