STRUCT PANTHOR_FW_CSG_IFACE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the panthor_fw_csg_input_iface::req field.

Needed so we can update the req field concurrently from the interrupt handler and the scheduler logic.

TODO: Ideally we'd want to use a cmpxchg to update the req, but FW interface sections are mapped uncached/write-combined right now, and using cmpxchg on 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