drm_gem_evict_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gem_evict_locked(9)

okay so welcome to the Kernel API Manual page for drm_gem_evict_locked(9), bestie. This one is a little helper with one job: evict backing pages for a GEM object ✨ Short page? Yes. Still iconic? Also yes πŸ’–.


✨ NAME ✨

drm_gem_evict_locked β€” helper to evict backing pages for a GEM object 🫢

πŸ“œ SYNOPSIS πŸ“œ

int drm_gem_evict_locked (struct drm_gem_object *obj );

That's the whole signature, no cap: it returns an int, and it takes one pointer to a struct drm_gem_object named obj ⭐

πŸŽ€ ARGUMENTS πŸŽ€

  • obj β€” the obj in question πŸ¦‹. Like, that's the argument, and the page says it's the obj in question. We love a concise queen.

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/drm_gem.c, plus literally the whole friend group:


mwah πŸ’‹ this was drm_gem_evict_locked(9) from the ./drivers/gpu/drm source, dated October 2026. bye bestie, go evict those backing pages β€” for a GEM object, specifically πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from