STRUCT PANTHOR_FW_CSG_IFACE(9)
π struct panthor_fw_csg_iface(9) π
okay bestie, welcome to the Kernel API Manual glow-up for struct panthor_fw_csg_iface β literally the firmware command stream group slot interface. no cap, every field is here, so letβs get into it π«Ά
β¨ NAME β¨
struct panthor_fw_csg_iface β Firmware command stream group slot interface
πΈ SYNOPSIS πΈ
struct panthor_fw_csg_iface {
spinlock_t lock;
const struct panthor_fw_csg_control_iface *control;
struct panthor_fw_csg_input_iface *input;
const struct panthor_fw_csg_output_iface *output;
};
π Members π
lockβ Lock protecting access to thepanthor_fw_csg_input_iface::reqfield.
Needed so we can update the req field concurrently from the interrupt handler and the scheduler logic.
TODO: Ideally we'd want to use acmpxchgto update thereq, but FW interface sections are mapped uncached/write-combined right now, and usingcmpxchgon such mappings leads to SError faults. Revisit when we have'SHARED'GPU mappings hooked up.
controlβ Command stream group slot control interface.
Used to expose command stream group slot properties.
This interface is read-only. π
inputβ Command stream slot input interface.
Used for host updates/events. π
outputβ Command stream group slot output interface.
Used for FW updates/events.
This interface is read-only. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/panthor/panthor_fw.h struct panthor_fw_cs_iface(9), struct panthor_fw_global_iface(9), panthor_fw_toggle_reqs(9), panthor_fw_update_reqs(9)
okay thatβs the whole vibe check, bestie. huge shoutout to source/version ./drivers/gpu/drm/panthor, dated October 2026 β mwah, slay, periodt π
β¨
π¦ 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