projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704d203
)
radeon/uvd: alignment fix for decode message buffer
author
Boyuan Zhang
<boyuan.zhang@amd.com>
Fri, 8 Apr 2016 15:31:15 +0000
(11:31 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Mon, 11 Apr 2016 23:30:47 +0000
(19:30 -0400)
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_uvd.c
b/src/gallium/drivers/radeon/radeon_uvd.c
index 233f46091a4b64025ff4e88b61a0573d92f379c0..098baf20797691bd9092cb07ae04c5cf19c4653a 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_uvd.c
+++ b/
src/gallium/drivers/radeon/radeon_uvd.c
@@
-1003,7
+1003,7
@@
static void ruvd_end_frame(struct pipe_video_codec *decoder,
dec->msg->body.decode.dpb_size = dec->dpb.res->buf->size;
dec->msg->body.decode.bsd_size = bs_size;
- dec->msg->body.decode.db_pitch =
dec->base.width
;
+ dec->msg->body.decode.db_pitch =
align(dec->base.width, 16)
;
dt = dec->set_dtb(dec->msg, (struct vl_video_buffer *)target);
if (((struct r600_common_screen*)dec->screen)->family >= CHIP_STONEY)