mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 07:20:23 +01:00
radeon/uvd: alignment fix for decode message buffer
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
(cherry picked from commit 1c7ba7f156)
This commit is contained in:
parent
193c00911b
commit
3705e4352f
1 changed files with 1 additions and 1 deletions
|
|
@ -960,7 +960,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue