diff options
author | Michel Dänzer <[email protected]> | 2020-01-28 11:12:24 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-29 15:51:01 +0000 |
commit | ca6a22305b275b49fbc88b8f4cba2fefb24c2a5d (patch) | |
tree | f862de0d2fdca5d372499a90778e14abcf07cd8c /doxygen/.gitignore | |
parent | 9f2bed49d476a15af0df270307f9051d810ea0ab (diff) |
winsys/amdgpu: Close KMS handles for other DRM file descriptions
When a BO or amdgpu_screen_winsys is destroyed.
Should fix leaking such BOs in other DRM file descriptions.
v2:
* Pass the correct file descriptor to drmIoctl (Pierre-Eric
Pelloux-Prayer)
* Use _mesa_hash_table_remove
v3:
* Close handles in amdgpu_winsys_unref as well
v4:
* Adapt to amdgpu_winsys::sws_list_lock.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2270
Fixes: 11a3679e3aba "winsys/amdgpu: Make KMS handles valid for original
DRM file descriptor"
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3582>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3582>
Diffstat (limited to 'doxygen/.gitignore')
0 files changed, 0 insertions, 0 deletions