delegate_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🫢

  • 0 on success or delegated already. slay, it worked (or it was already done).
  • -EPERM if domain is L2. yep, because L2 is the forbidden one.
  • A negative error code otherwise. something else went sideways, check the code.

πŸ‘‘ SEE ALSO πŸ‘‘


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