drm_gem_shmem_object_unpin(9)
π drm_gem_shmem_object_unpin(9) β like, the Kernel API Manual, bestie π
okay so real talk, we're in the Kernel API Manual rn and this page is all about drm_gem_shmem_object_unpin(9). she's a tiny little wrapper function and honestly? she ate. let's get into it β¨
π NAME π
drm_gem_shmem_object_unpin β the GEM object function for drm_gem_shmem_unpin(). no cap, that's literally her whole job description π«Ά
πΈ SYNOPSIS πΈ
void drm_gem_shmem_object_unpin (struct drm_gem_object *obj );
that's it. that's the whole signature. short and iconic π
π¦ ARGUMENTS π¦
objβ the GEM object. yes bestie, that's the one. she's astruct drm_gem_object *and she's the main character of this function π
β DESCRIPTION β
so here's the vibe: this function wraps drm_gem_shmem_unpin. that's it, that's the whole lore. π§
drivers that employ the shmem helpers should use it as their drm_gem_object_funcs.unpin handler. like, that's the assignment. that's where she belongs. iykyk π₯
ngl it's giving "middle management" but in the best way possible β she exists so your driver's unpin handler has somewhere cute to live π
π SEE ALSO π
bestie go read these next, they're all in the 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)β her counterpart, the pin to her unpin π₯Ίdrm_gem_shmem_object_get_sg_table(9)drm_gem_shmem_object_mmap(9)DRM_GEM_SHMEM_DRIVER_OPS(9)β
and that's the whole page!! mwah π this one comes to you from ./include/drm, dated October 2026, and it's drm_gem_shmem_object_unpin(9) all the way down. stan a tiny wrapper function. periodt. πβ¨
π¦ 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