drm_gem_shmem_object_free(9)
π drm_gem_shmem_object_free π
okay so bestie, welcome to the drm_gem_shmem_object_free(9) page β that's the kernel API manual, and this is literally the whole vibe. it's a tiny little function page but it's got main character energy fr fr πΈ
β¨ NAME β¨
drm_gem_shmem_object_free β the GEM object function for drm_gem_shmem_free()
like, that's it. that's the whole job. she's a handler and she slays at it π
π¦ SYNOPSIS π¦
void drm_gem_shmem_object_free (struct drm_gem_object *obj );
no cap, that's the signature. void return, one arg, we're done here β¨
π ARGUMENTS π
objβ the GEM object to free. yes, that's the one. the object. and we are freeing it. periodt π«Ά
π DESCRIPTION π
so here's the tea: this function literally just wraps drm_gem_shmem_free. that's the whole lore π
if your driver uses the shmem helpers, you should use this as your drm_gem_object_funcs.free handler. like, that's the assignment. that's what she's for π
no extra steps, no secret sauce, she's just the designated free handler for shmem-helper drivers and she's iconic for it π
π₯ SEE ALSO π₯
- the kernel file
./include/drm/drm_gem_shmem_helper.h struct drm_gem_shmem_object(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_object_mmap(9)DRM_GEM_SHMEM_DRIVER_OPS(9)
go read the whole squad, iykyk πβ¨
okay that's the page!! mwah π this little manual lives in the ./include/drm directory, it's tagged October 2026 (yes, the future, she's ahead of her time π°οΈβ¨), and she's officially drm_gem_shmem_object_free(9) from the Kernel API Manual. stay free, stay shmem, love u 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