STRUCT PANTHOR_HEAP(9)
π 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 thechunkslist. π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 π
- Kernel file
./drivers/gpu/drm/panthor/panthor_heap.c struct panthor_heap_chunk_header(9)struct panthor_heap_chunk(9)struct panthor_heap_pool(9)panthor_heap_destroy(9)panthor_heap_create(9)panthor_heap_return_chunk(9)panthor_heap_grow(9)panthor_heap_pool_put(9)panthor_heap_pool_get(9)panthor_heap_pool_create(9)panthor_heap_pool_destroy(9)panthor_heap_pool_size(9)
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
- 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