radeonsi: disallow adding BOs into si_pm4_state except 1 shader BO per state
authorMarek Olšák <marek.olsak@amd.com>
Tue, 16 Jun 2020 02:21:50 +0000 (22:21 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 07:02:57 +0000 (07:02 +0000)
commit7b2a0f880b5964d120d06d1661ee2701333d0e1e
tree2da612d41a1ffd06bc71d1782e8a971480d79bcc
parent3b1e42d2c228730fb3c04646e45b82c5e7059b6c
radeonsi: disallow adding BOs into si_pm4_state except 1 shader BO per state

The si_shader pointer is already there, so use it and remove the array
of BOs.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5603>
src/gallium/drivers/radeonsi/si_cp_dma.c
src/gallium/drivers/radeonsi/si_pm4.c
src/gallium/drivers/radeonsi/si_pm4.h
src/gallium/drivers/radeonsi/si_state_shaders.c