winsys/amdgpu: Keep a list of amdgpu_screen_winsyses in amdgpu_winsys
authorMichel Dänzer <mdaenzer@redhat.com>
Mon, 30 Sep 2019 16:36:06 +0000 (18:36 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 23 Jan 2020 16:23:32 +0000 (17:23 +0100)
commitf4010a6da9720b1593ca34faf0d8722ca85ed6c2
treef2bcc12119f5d501217f1e5ee576edcbd15eeced
parent8d5203dad255b76501b74ac3cb5fcec977c7d21c
winsys/amdgpu: Keep a list of amdgpu_screen_winsyses in amdgpu_winsys

v2:
* Add dedicated mutex for the list.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3202>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h