mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
radeonsi/vcn: Enable AV1 decode workaround for gfx1153
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36725>
(cherry picked from commit 4893e09c10)
This commit is contained in:
parent
ddd18d6b3e
commit
40c6bec8bc
2 changed files with 4 additions and 1 deletions
|
|
@ -44,7 +44,7 @@
|
|||
"description": "radeonsi/vcn: Enable AV1 decode workaround for gfx1153",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -698,6 +698,7 @@ static rvcn_dec_message_av1_t get_av1_msg(struct radeon_decoder *dec,
|
|||
struct pipe_video_buffer *target,
|
||||
struct pipe_av1_picture_desc *pic)
|
||||
{
|
||||
struct si_screen *sscreen = (struct si_screen *)dec->screen;
|
||||
rvcn_dec_message_av1_t result;
|
||||
unsigned i, j, num_refs = 0, valid_ref = UINT32_MAX;
|
||||
uint16_t tile_count = pic->picture_parameter.tile_cols * pic->picture_parameter.tile_rows;
|
||||
|
|
@ -1076,6 +1077,8 @@ static rvcn_dec_message_av1_t get_av1_msg(struct radeon_decoder *dec,
|
|||
}
|
||||
}
|
||||
|
||||
result.av1_intrabc_workaround = sscreen->info.family == CHIP_GFX1153;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue