STRUCT PANTHOR_GEM_BACKING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 with drm_gem_get_pages. that's the actual memory backing right there, the whole point of the struct fr fr 🫢
  • pin_count β€” a refcount_t that 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