diff options
author | Michel Dänzer <[email protected]> | 2020-01-28 11:07:15 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-29 15:51:01 +0000 |
commit | 9f2bed49d476a15af0df270307f9051d810ea0ab (patch) | |
tree | 967f13b23346b04be91b4bd9598261588a87b424 /common.py | |
parent | f21b40d0bf3c5662945d8e35f1925a5a208df366 (diff) |
winsys/amdgpu: Re-use amdgpu_screen_winsys when possible
Namely, if os_same_file_description determined that the DRM file
descriptor references the same file description.
v2:
* Adapt to amdgpu_winsys::sws_list_lock.
v3:
* Fix comparison of amdgpu_screen_winsys file descriptions, see
https://gitlab.freedesktop.org/mesa/mesa/issues/2413 .
* Lock amdgpu_winsys::sws_list_lock for traversing the sws_list in
amdgpu_winsys_create.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3582>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions