On Mon, Nov 15, 2021 at 01:01:48PM +0100, Thomas Zimmermann wrote: > Change all GEM CMA object functions that receive a GEM object > of type struct drm_gem_object to expect an object of type > struct drm_gem_cma_object instead. > > This change reduces the number of upcasts from struct drm_gem_object > by moving them into callers. The C compiler can now verify that the > GEM CMA functions are called with the correct type. > > For consistency, the patch also renames drm_gem_cma_free_object to > drm_gem_cma_free. It further updates documentation for a number of > functions. > > Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx> Reviewed-by: Maxime Ripard <maxime@xxxxxxxxxx> Maxime
Attachment:
signature.asc
Description: PGP signature