mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 18:40:09 +01:00
Remove buffer object user list check in drm_bo_destroy_unlocked
In the case of driver allocated buffers, there won't necessarily be a user list associated with the buffer, so don't bug out on an empty list.
This commit is contained in:
parent
cbcbe80c09
commit
5433bbbfde
1 changed files with 0 additions and 1 deletions
|
|
@ -417,7 +417,6 @@ static void drm_bo_destroy_locked(struct drm_buffer_object * bo)
|
|||
|
||||
atomic_dec(&bm->count);
|
||||
|
||||
BUG_ON(!list_empty(&bo->base.list));
|
||||
drm_ctl_free(bo, sizeof(*bo), DRM_MEM_BUFOBJ);
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue