mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radv/amdgpu: Fix hash key in radv_amdgpu_winsys_destroy().
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34774>
(cherry picked from commit 96765935e8)
This commit is contained in:
parent
c42b829ac4
commit
234d66a1e2
2 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@
|
|||
"description": "radv/amdgpu: Fix hash key in radv_amdgpu_winsys_destroy().",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ radv_amdgpu_winsys_destroy(struct radeon_winsys *rws)
|
|||
|
||||
simple_mtx_lock(&winsys_creation_mutex);
|
||||
if (!--ws->refcount) {
|
||||
_mesa_hash_table_remove_key(winsyses, ws->dev);
|
||||
_mesa_hash_table_remove_key(winsyses, (void *)ac_drm_device_get_cookie(ws->dev));
|
||||
|
||||
/* Clean the hashtable up if empty, though there is no
|
||||
* empty function. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue