drm/qxl: Use lockless gem BO free callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 30 May 2016 17:53:01 +0000 (19:53 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 1 Jun 2016 07:40:42 +0000 (09:40 +0200)
No dev->struct_mutex anywhere to be seen.

Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-10-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/qxl/qxl_drv.c

index dc9df5fe50baae2929d53a6ba0d5dc271618d218..460bbceae297af4d3ee13f24a2b3ea764aa4c23f 100644 (file)
@@ -256,7 +256,7 @@ static struct drm_driver qxl_driver = {
        .gem_prime_vmap = qxl_gem_prime_vmap,
        .gem_prime_vunmap = qxl_gem_prime_vunmap,
        .gem_prime_mmap = qxl_gem_prime_mmap,
-       .gem_free_object = qxl_gem_object_free,
+       .gem_free_object_unlocked = qxl_gem_object_free,
        .gem_open_object = qxl_gem_object_open,
        .gem_close_object = qxl_gem_object_close,
        .fops = &qxl_fops,