[PATCH 26/27] drm/hisilicon: Use lockless gem BO free callback

Xinliang Liu xinliang.liu at linaro.org
Sun Jun 12 09:48:39 UTC 2016


Hi,

On 31 May 2016 at 01:53, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> No dev->struct_mutex anywhere to be seen.
>
> Cc: Xinliang Liu <xinliang.liu at linaro.org>
> Cc: Xinwei Kong <kong.kongxinwei at hisilicon.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

Reviewed-by: Xinliang Liu <xinliang.liu at linaro.org>

> ---
>  drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
> index 3f94785fbcca..193657259ee9 100644
> --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
> +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
> @@ -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,
> --
> 2.8.1
>


More information about the dri-devel mailing list