Name
drm_gem_cma_create —
allocate an object with the given size
Arguments
drm
DRM device
size
size of the object to allocate
Description
This function creates a CMA GEM object and allocates a contiguous chunk of
memory as backing store. The backing memory has the writecombine attribute
set.
Returns
A struct drm_gem_cma_object * on success or an ERR_PTR
-encoded negative
error code on failure.