[PATCH v2 2/2] drm/vc4: replace obj lookup steps with drm_gem_objects_lookup

Javier Martinez Canillas javierm at redhat.com
Tue Feb 28 10:11:33 UTC 2023


Maíra Canal <mcanal at igalia.com> writes:

> As vc4_cl_lookup_bos() performs the same steps as drm_gem_objects_lookup(),
> replace the open-coded implementation in vc4 to simply use the DRM function.
>
> Signed-off-by: Maíra Canal <mcanal at igalia.com>
> Reviewed-by: André Almeida <andrealmeid at igalia.com>
> ---

It is indeed the same logic. Nice cleanup!

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list