radeonsi: Add support for DPB resize
authorSureshGuttula <suresh.guttula@amd.corp-partner.google.com>
Mon, 27 Feb 2023 09:23:17 +0000 (14:53 +0530)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Mar 2023 02:19:58 +0000 (02:19 +0000)
commit30a89323ad660d6a30dcf1a7a037893358f3060c
tree542363d57686c03a062290976b150f56b87f5b08
parente54ec96f35c0d76a52841aee0a766e0e9a7d3ce7
radeonsi: Add support for DPB resize

This patch will add support for dpb resize when low to high resolution
change/ svc use-cases.

With DPB tier1 type,vp9 svc decoder use cases are failed. This
Change will fix this[VCN1/VCN2].

Signed-off-by: SureshGuttula <suresh.guttula@amd.com>
Reviewed-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/21548>
src/amd/common/ac_vcn_dec.h
src/gallium/drivers/radeonsi/radeon_uvd.c
src/gallium/drivers/radeonsi/radeon_vcn_dec.c
src/gallium/drivers/radeonsi/radeon_vcn_dec.h
src/gallium/drivers/radeonsi/radeon_video.c
src/gallium/drivers/radeonsi/radeon_video.h