Name

drm_gem_cma_free_object — free resources associated with a CMA GEM object

Synopsis

void drm_gem_cma_free_object (struct drm_gem_object * gem_obj);
 

Arguments

gem_obj

GEM object to free

Description

This function frees the backing memory of the CMA GEM object, cleans up the GEM object state and frees the memory used to store the object itself. Drivers using the CMA helpers should set this as their DRM driver's ->gem_free_object callback.