staging/vboxvideo: Use gem_free_object_unlocked
authorDaniel Vetter <[email protected]>
Tue, 27 Mar 2018 08:23:52 +0000 (10:23 +0200)
committerDaniel Vetter <[email protected]>
Wed, 28 Mar 2018 15:07:36 +0000 (17:07 +0200)
vboxvideo doesn't use dev->struct_mutex and therefore has no need to use
gem_free_object.

Signed-off-by: Daniel Vetter <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Michael Thayer <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/staging/vboxvideo/vbox_drv.c

index e18642e5027edb57ef144d5484834642178a750b..f6d26beffa543ea6a8164d8d8e0516593cce7ab3 100644 (file)
@@ -242,7 +242,7 @@ static struct drm_driver driver = {
        .minor = DRIVER_MINOR,
        .patchlevel = DRIVER_PATCHLEVEL,
 
-       .gem_free_object = vbox_gem_free_object,
+       .gem_free_object_unlocked = vbox_gem_free_object,
        .dumb_create = vbox_dumb_create,
        .dumb_map_offset = vbox_dumb_mmap_offset,
        .dumb_destroy = drm_gem_dumb_destroy,