Commit 35f62a58 authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Dave Airlie

drm/vmwgfx: Free user-space fence objects correctly

They need to be freed after an rcu grace period.
Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a82b8db0
...@@ -537,7 +537,7 @@ static void vmw_user_fence_destroy(struct vmw_fence_obj *fence) ...@@ -537,7 +537,7 @@ static void vmw_user_fence_destroy(struct vmw_fence_obj *fence)
container_of(fence, struct vmw_user_fence, fence); container_of(fence, struct vmw_user_fence, fence);
struct vmw_fence_manager *fman = fence->fman; struct vmw_fence_manager *fman = fence->fman;
kfree(ufence); ttm_base_object_kfree(ufence, base);
/* /*
* Free kernel space accounting. * Free kernel space accounting.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment