drm/hisilicon: Use lockless gem BO free callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 30 May 2016 17:53:18 +0000 (19:53 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 31 May 2016 11:28:58 +0000 (13:28 +0200)
No dev->struct_mutex anywhere to be seen.

Cc: Xinliang Liu <xinliang.liu@linaro.org>
Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Acked-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-27-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c

index 3f94785fbcca6fe6dde61c77815f7dcc3a22acc7..193657259ee9ff205c8dc8b01f6ece0dddd9e78e 100644 (file)
@@ -173,7 +173,7 @@ static struct drm_driver kirin_drm_driver = {
        .fops                   = &kirin_drm_fops,
        .set_busid              = drm_platform_set_busid,
 
-       .gem_free_object        = drm_gem_cma_free_object,
+       .gem_free_object_unlocked = drm_gem_cma_free_object,
        .gem_vm_ops             = &drm_gem_cma_vm_ops,
        .dumb_create            = kirin_gem_cma_dumb_create,
        .dumb_map_offset        = drm_gem_cma_dumb_map_offset,