mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 15:08:09 +02:00
amdgpu_bo_destroy is called when the bo ref count reaches 0. But if the bo is on bo_export_table, amdgpu_bo_from_handle can race with amdgpu_bo_destroy and increments the bo ref count. When that happens, amdgpu_bo_destroy should bail. v2: - reorder amdgpu_bo_free and amdgpu_bo_unmap - fix an assert Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1) Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24526> |
||
|---|---|---|
| .. | ||
| pb_buffer.h | ||
| pb_buffer_fenced.c | ||
| pb_buffer_fenced.h | ||
| pb_bufmgr.h | ||
| pb_bufmgr_cache.c | ||
| pb_bufmgr_debug.c | ||
| pb_bufmgr_mm.c | ||
| pb_bufmgr_slab.c | ||
| pb_cache.c | ||
| pb_cache.h | ||
| pb_slab.c | ||
| pb_slab.h | ||
| pb_validate.c | ||
| pb_validate.h | ||