drm_gem_lru_init(9)
π drm_gem_lru_init π
okay so bestie, welcome to the Kernel API Manual β¨ β this lil page is all about drm_gem_lru_init(9), and honestly? it's giving "small but mighty." π
β¨ NAME β¨
drm_gem_lru_init β initialize a LRU π
like, that's it. that's the whole job. she sets up a LRU and she does it well. periodt. π
πΈ SYNOPSIS πΈ
void drm_gem_lru_init (struct drm_gem_lru *lru );
no return value, no drama, no exit codes. she just does the thing and dips. π¦
π ARGUMENTS π
lruβ The LRU to initialize π β this is thestruct drm_gem_lru *you're handing over, and yup, it's the one getting initialized. that's the vibe check and she passes it. π
π«Ά SEE ALSO π«Ά
the whole squad, fr fr β and also, heads up, the kernel file is ./drivers/gpu/drm/drm_gem.c π (iykyk):
drm_gem_huge_mnt_create(9)drm_gem_init(9)drm_gem_object_init(9)drm_gem_private_object_init(9)drm_gem_private_object_fini(9)drm_gem_object_handle_get_if_exists_unlocked(9)drm_gem_object_handle_free(9)drm_gem_object_handle_put_unlocked(9)drm_gem_handle_delete(9)drm_gem_dumb_map_offset(9)drm_gem_handle_create_tail(9)drm_gem_handle_create(9)drm_gem_free_mmap_offset(9)drm_gem_create_mmap_offset_size(9)drm_gem_create_mmap_offset(9)drm_gem_get_pages(9)drm_gem_put_pages(9)drm_gem_objects_lookup(9)drm_gem_object_lookup(9)drm_gem_dma_resv_wait(9)drm_gem_open(9)drm_gem_release(9)drm_gem_object_release(9)drm_gem_object_free(9)drm_gem_vm_open(9)drm_gem_vm_close(9)drm_gem_mmap_obj(9)drm_gem_get_unmapped_area(9)drm_gem_mmap(9)drm_gem_lock_reservations(9)drm_gem_lru_remove(9)drm_gem_lru_move_tail_locked(9)drm_gem_lru_move_tail(9)drm_gem_lru_scan(9)drm_gem_evict_locked(9)
like okay go off, entire DRM GEM friend group ππ₯
ngl there's not a ton of lore on this one β no options, no env vars, no signals, no bugs listed, no license line. just a clean lil init function living her best life. don't go inventing extra behaviour, bestie, that's not the assignment π
and that's the page!! mwah π this one lives in ./drivers/gpu/drm and it's stamped October 2026 β so go forth and initialize your LRU, you absolute icon π§π
π¦ 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