projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82b8db
)
drm/vmwgfx: Free user-space fence objects correctly
author
Thomas Hellstrom
<thellstrom@vmware.com>
Tue, 20 Nov 2012 12:16:49 +0000
(12:16 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 28 Nov 2012 08:36:12 +0000
(18:36 +1000)
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>
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
index
bc187fa
..
c62d20e
100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
@@
-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(ufenc
e);
+
ttm_base_object_kfree(ufence, bas
e);
/*
* Free kernel space accounting.
*/