STRUCT PANTHOR_GEM_CPU_MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the Kernel API Manual page for struct panthor_gem_cpu_map πŸ’… this is the struct that’s literally all about GEM CPU mapping related data, and it’s here to keep the mapping vibes organized ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the whole struct, looking exact and iconic:

       struct panthor_gem_cpu_map {
           void *vaddr;
           refcount_t vaddr_use_count;
           refcount_t mmap_count;
        };

πŸŽ€ Members πŸŽ€

  • vaddr β€” the address returned by vmap. that’s the pointer vmap hands back, periodt πŸ’–
  • vaddr_use_count β€” a refcount_t that tracks the number of active vmap requests on this GEM. it’s literally the vmap request counter, no cap ✨
  • mmap_count β€” another refcount_t, this one counting the number of active mmap requests on this GEM. mmap girlies stay counted πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

bestie, go peek at these too πŸ‘€

  • Kernel file ./drivers/gpu/drm/panthor/panthor_gem.h
  • struct panthor_gem_debugfs(9)
  • struct panthor_gem_backing(9)
  • struct panthor_gem_dev_map(9)
  • enum panthor_gem_reclaim_state(9)
  • struct panthor_gem_object(9)
  • struct panthor_kernel_bo(9)

that’s the whole page, bestie 🫢 this cutie is sourced from ./drivers/gpu/drm/panthor, dated October 2026, and it’s the struct panthor_gem_cpu_map(9) page β€” bye diva πŸ’‹

πŸ“¦ where this page comes from