delegate_domain(9)
π delegate_domain(9) β straight from the Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual corner where we're talking about delegate_domain. This one is literally about handing control of a domain to the MCU. Stay for the vibes, stay for the facts. β¨
πΈ NAME πΈ
delegate_domain β delegate control of a domain to MCU. no cap, that's the whole assignment.
β¨ SYNOPSIS β¨
int delegate_domain (struct panthor_device *ptdev , u32 domain );
π ARGUMENTS π
ptdevβ the Device. yes, that one.domainβ the Domain to delegate the control. hand it over, bestie.
π DESCRIPTION π
So this function delegates control of a domain to the MCU. that's the main character move.
π¨ but listen: delegating the L2 domain is prohibited. Not "maybe don't," not "use your judgment" β prohibited, periodt. do not do it. π
π«Ά RETURN π«Ά
0on success or delegated already. slay, it worked (or it was already done).-EPERMif domain is L2. yep, because L2 is the forbidden one.- A negative error code otherwise. something else went sideways, check the code.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/panthor/panthor_pwr.cβstruct panthor_pwr(9),retract_domain(9),panthor_pwr_domain_force_off(9).
and that's the whole page, bestie. signed off from the source path ./drivers/gpu/drm/panthor, dated October 2026 π¦π
π¦ 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