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

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

index b332b4d3b0e284463447519924ecfe08086615ef..abace82de6eac2de22b747ff54a5612443f69647 100644 (file)
@@ -89,7 +89,7 @@ static struct drm_driver bochs_driver = {
        .date                   = "20130925",
        .major                  = 1,
        .minor                  = 0,
-       .gem_free_object        = bochs_gem_free_object,
+       .gem_free_object_unlocked = bochs_gem_free_object,
        .dumb_create            = bochs_dumb_create,
        .dumb_map_offset        = bochs_dumb_mmap_offset,
        .dumb_destroy           = drm_gem_dumb_destroy,