mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radeon/vcn: correct target buffer pitch calculation
since the way should be as same as UVD Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
e29ccaac29
commit
df6c087a38
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ static struct pb_buffer *rvcn_dec_message_decode(struct radeon_decoder *dec,
|
|||
decode->db_pitch = align(dec->base.width, 32);
|
||||
decode->db_surf_tile_config = 0;
|
||||
|
||||
decode->dt_pitch = luma->surface.u.gfx9.surf_pitch * luma->surface.bpe;;
|
||||
decode->dt_pitch = luma->surface.u.gfx9.surf_pitch * luma->surface.blk_w;
|
||||
decode->dt_uv_pitch = decode->dt_pitch / 2;
|
||||
|
||||
decode->dt_tiling_mode = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue