drm_gem_dma_object_mmap(9)
π drm_gem_dma_object_mmap(9) β a Kernel API Manual moment β¨
okay bestie, welcome to the group chat for drm_gem_dma_object_mmap(9). This is the Kernel API Manual page, and she's here to explain the GEM object mmap helper with main-character energy. no cap π«Ά
π NAME π
drm_gem_dma_object_mmap β the GEM object function for drm_gem_dma_mmap().
β¨ SYNOPSIS β¨
here's the signature, literally exactly:
int drm_gem_dma_object_mmap (struct drm_gem_object *obj , struct
vm_area_struct *vma );
πΈ ARGUMENTS πΈ
objβ the GEM object.vmaβ the VMA for the area to be mapped.
π¦ DESCRIPTION π¦
This function wraps drm_gem_dma_mmap. Drivers that employ the dma helpers should use it as their drm_gem_object_funcs.mmap handler. it's giving "tiny wrapper, big main-character energy," and if that's your driver's setup, slay, this is the handler π
π« RETURN π«
0 on success, or a negative error code on failure. periodt π
π₯ SEE ALSO π₯
- Kernel file:
./include/drm/drm_gem_dma_helper.h struct drm_gem_dma_object(9)drm_gem_dma_object_free(9)drm_gem_dma_object_print_info(9)drm_gem_dma_object_get_sg_table(9)DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(9)DRM_GEM_DMA_DRIVER_OPS(9)DRM_GEM_DMA_DRIVER_OPS_VMAP_WITH_DUMB_CREATE(9)DRM_GEM_DMA_DRIVER_OPS_VMAP(9)DEFINE_DRM_GEM_DMA_FOPS(9)
mwah π β this page came from the source/version spot ./include/drm, dated October 2026, and the title is still drm_gem_dma_object_mmap(9). byeee, bestie π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms