mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
drm/vmwgfx: Free user-space fence objects correctly
They need to be freed after an rcu grace period. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a82b8db02f
commit
35f62a5829
@ -537,7 +537,7 @@ static void vmw_user_fence_destroy(struct vmw_fence_obj *fence)
|
||||
container_of(fence, struct vmw_user_fence, fence);
|
||||
struct vmw_fence_manager *fman = fence->fman;
|
||||
|
||||
kfree(ufence);
|
||||
ttm_base_object_kfree(ufence, base);
|
||||
/*
|
||||
* Free kernel space accounting.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user