panthor_pwr_...in_force_off(9)
π panthor_pwr_domain_force_off β NAME β¨
okay so this is a page straight out of the Kernel API Manual, and the function is panthor_pwr_domain_force_off β bestie, it does exactly what it says on the tin: it forcefully powers down a domain. no negotiating, no "please", we're just cutting the lights π₯
π SYNOPSIS π
int panthor_pwr_domain_force_off (struct panthor_device *ptdev , u32 domain );
like, you hand it a device and a domain, and it goes yeet at the power supply β‘
πΈ ARGUMENTS πΈ
ptdevβ the device, bestie. that's the thing you're working with π«Άdomainβ the domain you want to forcefully power down. yes, forcefully. it's right there in the name π
π DESCRIPTION π
so here's the vibe check: this function will attempt to retract and power off the requested power domain. two steps, one dream β¨
but β and this is the important part, no cap π β if retraction fails, the operation is aborted. like, we don't even get to the power-off era. it's giving "we tried and we stopped".
and if power off fails? the domain will remain retracted and under the host control. so it's not fully off, it's just... parked. sitting there. in host-controlled limbo π
π RETURN π
0 on success, or a negative error code on failure. that's the whole story, periodt π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/panthor/panthor_pwr.c struct panthor_pwr(9)retract_domain(9)delegate_domain(9)
okay and one last thing before you close the tab π§ β this whole masterpiece lives in ./drivers/gpu/drm/panthor, and it's dated October 2026. so mark your calendars, screenshot this, send it to the group chat ππβ¨ bye bestie, go power down some domains responsibly π«Ά
π¦ 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