mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeon/vcn: enable dynamic dpb Tier1 support
For Raven and Navixx family i.e. VCN1 and VCN2 with VP9 codec Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8851>
This commit is contained in:
parent
b460c9b5d1
commit
57cb2fc88e
1 changed files with 5 additions and 0 deletions
|
|
@ -2341,6 +2341,11 @@ 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)
|
||||
dec->dpb_type = DPB_DYNAMIC_TIER_1;
|
||||
else
|
||||
dec->dpb_type = DPB_MAX_RES;
|
||||
|
||||
return &dec->base;
|
||||
|
||||
error:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue