drm_gem_dma_object_free(9)
π drm_gem_dma_object_free(9) β from the Kernel API Manual, bestie β¨
Okay so real talk, this one's a tiny little function but she's important, so let's get into it π
πΈ NAME πΈ
drm_gem_dma_object_free β the GEM object function for drm_gem_dma_free(), no cap π
β¨ SYNOPSIS β¨
void drm_gem_dma_object_free (struct drm_gem_object *obj );
That's it. That's the whole signature. Short king π
π¦ ARGUMENTS π¦
objβ the GEM object we're freeing, aka the thing getting yeeted ποΈβ¨
π DESCRIPTION π
So here's the tea: this function wraps drm_gem_dma_free_object. That's literally her whole job and she does it flawlessly π
If you're a driver that employs the DMA helpers, then you should use this as your drm_gem_object_funcs.free handler. Like, that's the assignment. That's what she's for. Periodt π«Ά
π₯ SEE ALSO π₯
Kernel file ./include/drm/drm_gem_dma_helper.h struct, plus the whole friend group π§:
drm_gem_dma_object(9)drm_gem_dma_object_print_info(9)drm_gem_dma_object_get_sg_table(9)drm_gem_dma_object_mmap(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)
iykyk π
ngl this page lives in ./include/drm, it's dated October 2026, and it ships with the Kernel API Manual. Slay, see u next time 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