From: Daniel Vetter Date: Mon, 30 May 2016 17:53:16 +0000 (+0200) Subject: drm/arcpgu: Use lockless gem BO free callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1512ee08f00c17918093e75be4a3fa297bcaf9b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/arcpgu: Use lockless gem BO free callback No dev->struct_mutex anywhere to be seen. Cc: Alexey Brodkin Cc: Carlos Palminha Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-25-git-send-email-daniel.vetter@ffwll.ch --- diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 76e187a5bde0..bc53ebb83f75 100644 --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -207,7 +207,7 @@ static struct drm_driver arcpgu_drm_driver = { .get_vblank_counter = drm_vblank_no_hw_counter, .prime_handle_to_fd = drm_gem_prime_handle_to_fd, .prime_fd_to_handle = drm_gem_prime_fd_to_handle, - .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, .gem_prime_export = drm_gem_prime_export, .gem_prime_import = drm_gem_prime_import,