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

Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-2-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/armada/armada_drv.c

index 439824a61aa5276e465975a8ae79e8ab6da7c552..cb21c0b6374a68d5640433246f5311528c749638 100644 (file)
@@ -197,7 +197,7 @@ static struct drm_driver armada_drm_driver = {
        .debugfs_init           = armada_drm_debugfs_init,
        .debugfs_cleanup        = armada_drm_debugfs_cleanup,
 #endif
-       .gem_free_object        = armada_gem_free_object,
+       .gem_free_object_unlocked = armada_gem_free_object,
        .prime_handle_to_fd     = drm_gem_prime_handle_to_fd,
        .prime_fd_to_handle     = drm_gem_prime_fd_to_handle,
        .gem_prime_export       = armada_gem_prime_export,