Commit 1bd816f1 authored by Daniel Vetter's avatar Daniel Vetter

drm/vgem: Use lockless gem BO free callback

No dev->struct_mutex anywhere to be seen.

Cc: seanpaul@chromium.org
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-17-git-send-email-daniel.vetter@ffwll.ch
parent 0eef29d7
...@@ -235,7 +235,7 @@ static const struct file_operations vgem_driver_fops = { ...@@ -235,7 +235,7 @@ static const struct file_operations vgem_driver_fops = {
static struct drm_driver vgem_driver = { static struct drm_driver vgem_driver = {
.driver_features = DRIVER_GEM, .driver_features = DRIVER_GEM,
.gem_free_object = vgem_gem_free_object, .gem_free_object_unlocked = vgem_gem_free_object,
.gem_vm_ops = &vgem_gem_vm_ops, .gem_vm_ops = &vgem_gem_vm_ops,
.ioctls = vgem_ioctls, .ioctls = vgem_ioctls,
.fops = &vgem_driver_fops, .fops = &vgem_driver_fops,
......
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