drm_gem_dma_object_mmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯


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