drm_gem_shmem_free(9)
β¨ drm_gem_shmem_free(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this is the page for drm_gem_shmem_free, and yes it's literally the cleanup crew of the shmem GEM world π
πΈ NAME πΈ
drm_gem_shmem_free β frees all the resources tied to a shmem GEM object π«Ά
β SYNOPSIS β
void drm_gem_shmem_free (struct drm_gem_shmem_object *shmem );
π¦ ARGUMENTS π¦
shmemβ the shmem GEM object you're freeing, bestie. that's the one going bye-bye π
π DESCRIPTION π
so this function does the glow-up cleanup π§: it tidies up the GEM object state and frees the memory that was used to store the object itself. both things. not one, not the other β both, periodt π
π SEE ALSO π
the whole friend group, no cap π
- Kernel file
./drivers/gpu/drm/drm_gem_shmem_helper.coverview(9) drm_gem_shmem_init(9)drm_gem_shmem_create(9)drm_gem_shmem_release(9)drm_gem_shmem_pin(9)drm_gem_shmem_unpin(9)drm_gem_shmem_create_with_handle(9)drm_gem_shmem_dumb_create(9)drm_gem_shmem_mmap(9)drm_gem_shmem_print_info(9)drm_gem_shmem_get_sg_table(9)drm_gem_shmem_get_pages_sgt(9)drm_gem_shmem_prime_import_sg_table(9)drm_gem_shmem_prime_import_no_map(9)
ngl if you got here you were probably looking for the free. you found it π
mwah π that's the whole page β signed, sealed, delivered from ./drivers/gpu/drm in October 2026 under the name drm_gem_shmem_free(9) slay πβ¨
π¦ 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