ENUM HL_CS_WAIT_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum hl_cs_wait_status(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, the actual kernel API manual, and yes, we're about to make a little enum feel like a whole moment. no cap, this one's short but she's iconic.


🌸 NAME 🌸

enum hl_cs_wait_status β€” cs wait status 🫢

like, literally just: the wait status of a cs. that's the vibe. iykyk.


πŸŽ€ SYNOPSIS πŸŽ€

enum hl_cs_wait_status {
    CS_WAIT_STATUS_BUSY ,
    CS_WAIT_STATUS_COMPLETED ,
    CS_WAIT_STATUS_GONE

};

three constants, one enum, zero notes. she's minimal, she's clean, she ate πŸ’…


✨ Constants ✨

  • CS_WAIT_STATUS_BUSY β€” cs was not completed yet 😭 like it's still cooking, give her a sec, do not perceive her
  • CS_WAIT_STATUS_COMPLETED β€” cs completed πŸ‘‘ slay, done, finished, the fence came through, main character energy fr fr
  • CS_WAIT_STATUS_GONE β€” cs completed but fence is already gone πŸ’€ so the work is done but the fence? already left the chat. ghosted. not me checking for a fence that's not there anymore πŸ™ˆ
ngl CS_WAIT_STATUS_COMPLETED and CS_WAIT_STATUS_GONE are so close β€” the difference is literally just whether the fence is still around to be seen. the cs is completed in both cases, periodt. don't conflate them, bestie. 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/accel/habanalabs/common/command_submission.c β€” go read the source, it's giving lore πŸ“–
  • hl_gen_sob_mask(9) β€” the other one you'll probably need, highkey useful ⭐

and that's the whole page, bestie πŸ“ short and sweet, just how we like her.

🧚 cute little sign-off: this page lives over in ./drivers/accel/habanalabs/common, and the version/date on the tin says October 2026 πŸ’œ so if you're reading this from the future β€” hi, hope the kernel's behaving πŸ’–
πŸ“¦ where this page comes from