drm_gem_shmem_unpin(9)
π drm_gem_shmem_unpin(9) π
okay bestie, welcome to the Kernel API Manual, this one's all about drm_gem_shmem_unpin and honestly it's a whole mood. it's short, it's sweet, it's giving "one job and she does it" energy. let's get into it π«Ά
β¨ NAME β¨
drm_gem_shmem_unpin β unpin backing pages for a shmem GEM object, no cap π
πΈ SYNOPSIS πΈ
void drm_gem_shmem_unpin (struct drm_gem_shmem_object *shmem );
like, that's the whole signature. she's void, she takes one pointer, she does not return anything. iconic behavior honestly π
π¦ ARGUMENTS π¦
shmemβ the shmem GEM object. that's it, that's the arg. she's your main character object and you're handing her over π
π DESCRIPTION π
so here's the tea, bestie: this function removes the requirement that the backing pages are pinned in memory. that's the whole thing. that's the vibe.
like if you previously said "hey these pages need to stay put," this is the girl who comes along and goes "okay, they can move again, we're done here" β¨ lowkey important, highkey simple.
ngl this one is just the unpin. nothing else. no extra lore, no secret side quests. don't overthink her π§
π SEE ALSO π
- 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_free(9)drm_gem_shmem_pin(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)
like, the whole shmem fam is there. go read them, they're all linked, iykyk ππ
aaaand that's the page!! π this one came from ./drivers/gpu/drm, dated October 2026, and it's literally titled drm_gem_shmem_unpin(9) β slay, bye 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