Name

drm_gem_cma_prime_vunmap — unmap a CMA GEM object from the kernel's virtual address space

Synopsis

void drm_gem_cma_prime_vunmap (struct drm_gem_object * obj,
 void * vaddr);
 

Arguments

obj

GEM object

vaddr

kernel virtual address where the CMA GEM object was mapped

Description

This function removes a buffer exported via DRM PRIME from the kernel's virtual address space. This is a no-op because CMA buffers cannot be unmapped from kernel space. Drivers using the CMA helpers should set this as their DRM driver's ->gem_prime_vunmap callback.