mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
radeon/vcn: enable dynamic dpb Tier2 support
On VCN3 with codec AV1 and VP9 Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8916>
This commit is contained in:
parent
c7a481872e
commit
e4decf6f39
1 changed files with 4 additions and 1 deletions
|
|
@ -2475,7 +2475,10 @@ struct pipe_video_codec *radeon_create_decoder(struct pipe_context *context,
|
|||
else
|
||||
dec->send_cmd = send_cmd_dec;
|
||||
|
||||
if (sctx->family <= CHIP_NAVI14 && stream_type == RDECODE_CODEC_VP9)
|
||||
if (sctx->family >= CHIP_SIENNA_CICHLID &&
|
||||
(stream_type == RDECODE_CODEC_VP9 || stream_type == RDECODE_CODEC_AV1))
|
||||
dec->dpb_type = DPB_DYNAMIC_TIER_2;
|
||||
else if (sctx->family <= CHIP_NAVI14 && stream_type == RDECODE_CODEC_VP9)
|
||||
dec->dpb_type = DPB_DYNAMIC_TIER_1;
|
||||
else
|
||||
dec->dpb_type = DPB_MAX_RES;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue