STRUCT PANTHOR_GEM_BACKING(9)
π struct panthor_gem_backing(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β we're deep in the kernel girlie trenches today and honestly? it's giving iconic. this page is all about struct panthor_gem_backing, which is literally the GEM memory backing related data β¨ no cap, that's the whole vibe.
π SYNOPSIS π
here's the whole struct, laid out exactly, don't touch a character of it:
struct panthor_gem_backing {
struct page **pages;
refcount_t pin_count;
};
two members, that's it, that's the queen π lowkey obsessed with how clean that is.
πΈ Members πΈ
pagesβ these are the pages that got requested withdrm_gem_get_pages. that's the actual memory backing right there, the whole point of the struct fr fr π«Άpin_countβ arefcount_tthat tracks the number of active pin requests on this GEM. so like, how many people currently have this thing pinned down. tracking the headcount at the door π
π¦ SEE ALSO π¦
go read these next, they're all in the same friend group:
- Kernel file
./drivers/gpu/drm/panthor/panthor_gem.h struct panthor_gem_debugfs(9)struct panthor_gem_cpu_map(9)struct panthor_gem_dev_map(9)enum panthor_gem_reclaim_state(9)struct panthor_gem_object(9)struct panthor_kernel_bo(9)
ngl bestie, this whole page lives in ./drivers/gpu/drm/panthor, so if you're lost, that's your home base π
and that's the page!! mwah π this lil rewrite is brought to you by the Kernel API Manual (that's the manual name, keep it in your notes π) β sourced from ./drivers/gpu/drm/panthor, dated October 2026. see you in the next manpage bestie, 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