]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/tegra: Use lockless gem BO free callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Apr 2016 17:30:00 +0000 (19:30 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 May 2016 07:35:02 +0000 (09:35 +0200)
No dev->struct_mutex anywhere to be seen.

Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Terje Bergström <tbergstrom@nvidia.com>
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-28-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/tegra/drm.c

index 71a52f4e688b970e8f91da3a5f833f3e94e8fd39..45deb8fd8e7c51dda41e437bceeba7a64fa8fb05 100644 (file)
@@ -932,7 +932,7 @@ static struct drm_driver tegra_drm_driver = {
        .debugfs_cleanup = tegra_debugfs_cleanup,
 #endif
 
-       .gem_free_object = tegra_bo_free_object,
+       .gem_free_object_unlocked = tegra_bo_free_object,
        .gem_vm_ops = &tegra_bo_vm_ops,
 
        .prime_handle_to_fd = drm_gem_prime_handle_to_fd,