STRUCT PANTHOR_FW(9)
π NAME π
okay bestie, welcome to the struct panthor_fw(9) page from the Kernel API Manual β this is the Firmware management struct, and it is lowkey the main character of the FW side of things πβ¨
β¨ SYNOPSIS β¨
no cap, the struct is literally this, character for character:
struct panthor_fw {
void __iomem *iomem;
struct panthor_vm *vm;
struct list_head sections;
struct panthor_fw_section *shared_section;
struct panthor_fw_iface iface;
struct {
struct delayed_work ping_work;
} watchdog;
wait_queue_head_t req_waitqueue;
bool booted;
struct panthor_irq irq;
};
π Members π
iomemβ the CPU mapping of theMCU_CONTROLiomem region π«Άvmβ the MCU VM.sectionsβ the list of FW sections.shared_sectionβ the section that is holding the FW interfaces.ifaceβ the FW interfaces.watchdogβ a little collection of fields all about the FW watchdog πreq_waitqueueβ the FW request waitqueue.
Every time a request is sent to a command stream group or the global interface, the caller first busy-waits for the request to be acknowledged, and then falls back to a sleeping wait. This wait queue is here to support the sleeping-wait flavor π€
bootedβ True is the FW is booted.irqβ Job irq data.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/panthor/panthor_fw.c β and the whole icon squad is:
struct panthor_fw_binary_hdr(9)enum panthor_fw_binary_entry_type(9)struct panthor_fw_binary_section_entry_hdr(9)struct panthor_fw_binary_iter(9)struct panthor_fw_section(9)struct panthor_fw_iface(9)panthor_fw_get_glb_iface(9)panthor_fw_get_csg_iface(9)panthor_fw_get_cs_iface(9)panthor_fw_conv_timeout(9)panthor_fw_alloc_queue_iface_mem(9)panthor_fw_alloc_suspend_buf_mem(9)iface_fw_to_cpu_addr(9)panthor_fw_pre_reset(9)panthor_fw_post_reset(9)panthor_fw_unplug(9)panthor_fw_wait_acks(9)panthor_fw_glb_wait_acks(9)panthor_fw_csg_wait_acks(9)panthor_fw_ring_csg_doorbells(9)panthor_fw_init(9)
okay bestie, thatβs the whole page π source/version path is ./drivers/gpu/drm/panthor, dated October 2026, and it is all for struct panthor_fw(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