STRUCT PANTHOR_HEAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is struct panthor_heap(9), and the manual name is the Kernel API Manual β€” slay. It's the structure used to manage tiler heap contexts, periodt. Tiler heap context management is literally the whole vibe here. πŸ’…

✨ SYNOPSIS ✨

       struct panthor_heap {
           struct list_head chunks;
           struct mutex lock;
           u32 chunk_size;
           u32 max_chunks;
           u32 target_in_flight;
           u32 chunk_count;
        };

πŸ› οΈ Members πŸ› οΈ

Bestie, here's every field in the struct β€” they're all main characters, no skipping:

  • chunks β€” list containing all heap chunks allocated so far. ✨
  • lock β€” lock protecting insertion in the chunks list. πŸ”’
  • chunk_size β€” size of each chunk. πŸ“
  • max_chunks β€” maximum number of chunks. 🚧
  • target_in_flight β€” number of in-flight render passes after which we'd let the FW wait for fragment job to finish instead of allocating new chunks. 🌈
  • chunk_count β€” number of heap chunks currently allocated. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€


okay that's the page, bestie 🫢 β€” source is ./drivers/gpu/drm/panthor, dated October 2026, and the whole thing is struct panthor_heap(9). byeee πŸ’–

πŸ“¦ where this page comes from