gallium/drivers: copy only the actual number of slice parameters
authorSajeesh Sidharthan <sajeesh.sidharthan@amd.com>
Sun, 20 Nov 2022 06:47:50 +0000 (22:47 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 21 Nov 2022 20:14:21 +0000 (20:14 +0000)
commitc22fbeb72a1f32d1a260558cbacb5ded9bd732ff
tree1638cd644fc28ef77d6155c442f5b89920fe7654
parent368be8725557f03e028f453df523baa6eda50d5d
gallium/drivers: copy only the actual number of slice parameters

currently max number of slice(tile) parameters are copied for av1.
copy only actual number of slice parameters

Signed-off-by: Sajeesh Sidharthan <sajeesh.sidharthan@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19878>
src/gallium/drivers/radeonsi/radeon_vcn_dec.c