radeon/vce: Move global function pointer si_get_pic_param to local encoder structure
authorVeerabadhran <vegopala@amd.com>
Wed, 5 Feb 2020 14:03:01 +0000 (19:33 +0530)
committerVeerabadhran G <vegopala@amd.com>
Wed, 12 Feb 2020 13:43:35 +0000 (13:43 +0000)
commit461c40e0fd5d67dc8155ae4f6c53ddd9acd995b1
treeb2a32b200acdb50c5f1b58307ff231f350c2b890
parent286141197dac9fc6765da3fa8bba571840bfa61c
radeon/vce: Move global function pointer si_get_pic_param to local encoder structure
Multi gpu use case broken when the function was global

Reviewed-by: Leo Liu <leo.liu@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3731>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3731>
src/gallium/drivers/radeon/radeon_vce.c
src/gallium/drivers/radeon/radeon_vce.h
src/gallium/drivers/radeon/radeon_vce_40_2_2.c
src/gallium/drivers/radeon/radeon_vce_50.c
src/gallium/drivers/radeon/radeon_vce_52.c