STRUCT PANTHOR_HW_OPS(9)
β¨ struct panthor_hw_ops(9) β¨
okay so you're in the Kernel API Manual, bestie, and we're talking about struct panthor_hw_ops π β it's literally the collection of HW operations that are specific to a GPU. iykyk.
πΈ NAME πΈ
struct panthor_hw_ops β HW operations that are specific to a GPU. that's it, that's the vibe π
π¦ SYNOPSIS π¦
struct panthor_hw_ops {
int (*soft_reset)(struct panthor_device *ptdev);
void (*l2_power_off)(struct panthor_device *ptdev);
int (*l2_power_on)(struct panthor_device *ptdev);
int (*power_changed_on)(struct panthor_device *ptdev);
void (*power_changed_off)(struct panthor_device *ptdev);
};
no cap, that's the whole struct β five function pointers, each one taking a struct panthor_device *ptdev, and we're gonna go through every single one π«Ά
π Members π
soft_resetβ Soft reset function pointer. she resets things softly, iconic behaviour β¨l2_power_offβ L2 power off function pointer. this is the one that turns the L2 power off, and yes it returnsvoid, so don't come looking for a status code πl2_power_onβ L2 power on function pointer. turns the L2 power on and actually gives you anintback, main character energy π₯power_changed_onβ Start listening to power change IRQs. like literally subscribing to the power-change gossip channel πpower_changed_offβ Stop listening to power change IRQs. unsubscribing, blocking the notifications, leaving the group chat π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/panthor/panthor_hw.h struct panthor_hw(9)β go read that one too, fr fr β
bestie reminder: every one of those five pointers takes exactly struct panthor_device *ptdev β no more, no less, no surprise arguments π§
anyway, that's the page! this gem came from ./drivers/gpu/drm/panthor, October 2026, in the struct panthor_hw_ops(9) era of the Kernel API Manual β slay, go forth and read your hardware ops ππΈ
π¦ 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