retract_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… retract_domain(9) β€” like, the kernel API manual bestie ✨

okay so real talk, this one lives in section 9 of the kernel API manual and it's called retract_domain, and it's literally about taking the control back from the MCU. main character energy fr fr πŸŽ€

✨ NAME ✨

retract_domain β€” Retract control of a domain from MCU πŸ‘‘

🌸 SYNOPSIS 🌸

int retract_domain (struct panthor_device *ptdev , u32 domain );

like, that's the whole signature, no notes, she ate πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ptdev β€” the Device. your fave struct, the whole device vibe check 🫢
  • domain β€” the Domain to retract the control. yeah bestie, this one's coming back to us πŸ”₯

πŸ’– DESCRIPTION πŸ’–

so the tea is: retracting the L2 domain is not expected, because it won't be delegated in the first place. like, you can't take back what was never handed out, yk? πŸ™ˆ so don't be surprised, that's just how it is πŸ’€

⭐ RETURN ⭐

  • 0 on success β€” or if it was retracted already, slay, either way we take the W ✨
  • -EPERM if the domain is L2. no cap, it's a hard no πŸ’…
  • a negative error code otherwise, because sometimes life gives you lemons πŸ“

🧚 SEE ALSO 🧚

go read those too, iykyk πŸ’œ


okay that's the whole page bestie, ily, go touch some registers 🌈 and this adorable little drop shipped straight out of ./drivers/gpu/drm/panthor, dated October 2026, retract_domain(9) β€” periodt. πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from