[Intel-gfx] [PATCH 16/35] drm/etnaviv: Use lockless gem BO free callback

Lucas Stach l.stach at pengutronix.de
Wed Apr 27 09:32:47 UTC 2016


Am Dienstag, den 26.04.2016, 19:29 +0200 schrieb Daniel Vetter:
> No dev->struct_mutex anywhere to be seen.
> 
> Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
> Cc: Russell King <rmk+kernel at arm.linux.org.uk>
> Cc: Lucas Stach <l.stach at pengutronix.de>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

Acked-by: Lucas Stach <l.stach at pengutronix.de>

> ---
>  drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
> index e8858985f01e..c2f92e362812 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
> @@ -497,7 +497,7 @@ static struct drm_driver etnaviv_drm_driver = {
>  	.open               = etnaviv_open,
>  	.preclose           = etnaviv_preclose,
>  	.set_busid          = drm_platform_set_busid,
> -	.gem_free_object    = etnaviv_gem_free_object,
> +	.gem_free_object_unlocked = etnaviv_gem_free_object,
>  	.gem_vm_ops         = &vm_ops,
>  	.prime_handle_to_fd = drm_gem_prime_handle_to_fd,
>  	.prime_fd_to_handle = drm_gem_prime_fd_to_handle,




More information about the Intel-gfx mailing list