radeonsi/vcn: support variable number of bs_bufs
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Thu, 20 Jul 2023 04:51:07 +0000 (10:21 +0530)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Jul 2023 14:42:09 +0000 (14:42 +0000)
commit47a9d016414e31805ca53f6054edad0ceca651a9
treec78f22d3aad9e7d5f015f9450b6efb33c1b96db8
parent53d35c641da5e24f94bc38ba987b1d2f36aae33e
radeonsi/vcn: support variable number of bs_bufs

add support to use variable number of bitstream buffers for decode

v2: remove the always true if condition (CI report)

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24240>
src/gallium/drivers/radeonsi/radeon_vcn_dec.c
src/gallium/drivers/radeonsi/radeon_vcn_dec.h