drm_gem_shmem_object_mmap(9)
π drm_gem_shmem_object_mmap(9) π
okay bestie, welcome to the Kernel API Manual β we're looking at the drm_gem_shmem_object_mmap(9) page and it's short but iconic. β¨
πΈ NAME πΈ
drm_gem_shmem_object_mmap β the GEM object function for drm_gem_shmem_mmap(). slay.
β¨ SYNOPSIS β¨
int drm_gem_shmem_object_mmap (struct drm_gem_object *obj , struct
vm_area_struct *vma );
π ARGUMENTS π
objβ the GEM object, bestie.vmaβ the VMA for the area to be mapped.
π¦ DESCRIPTION π¦
so this function wraps drm_gem_shmem_mmap. that's the vibe fr fr. Drivers that employ the shmem helpers should use it as their drm_gem_object_funcs.mmap handler. periodt. π
π RETURN π
0on success π- a negative error code on failure π
π SEE ALSO π
- Kernel file
./include/drm/drm_gem_shmem_helper.h - struct
drm_gem_shmem_object(9) drm_gem_shmem_object_free(9)drm_gem_shmem_object_print_info(9)drm_gem_shmem_object_pin(9)drm_gem_shmem_object_unpin(9)drm_gem_shmem_object_get_sg_table(9)DRM_GEM_SHMEM_DRIVER_OPS(9)
mwah π this page's source/version is ./include/drm / drm_gem_shmem_object_mmap(9), dated October 2026. byeee π«Ά
π¦ 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