drm/amdgpu: Use lockless gem BO free callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Apr 2016 17:29:43 +0000 (19:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 May 2016 10:26:48 +0000 (12:26 +0200)
No dev->struct_mutex anywhere to be seen.

Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-11-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

index 93462aea9faaeabb99849ed66bf80ca6cf54d44b..44955f0f32d0c6f8493702f90e46cb53ba643db0 100644 (file)
@@ -514,7 +514,7 @@ static struct drm_driver kms_driver = {
        .irq_uninstall = amdgpu_irq_uninstall,
        .irq_handler = amdgpu_irq_handler,
        .ioctls = amdgpu_ioctls_kms,
-       .gem_free_object = amdgpu_gem_object_free,
+       .gem_free_object_unlocked = amdgpu_gem_object_free,
        .gem_open_object = amdgpu_gem_object_open,
        .gem_close_object = amdgpu_gem_object_close,
        .dumb_create = amdgpu_mode_dumb_create,