drm_gem_shmem_object_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

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