ENUM CORE_CTX_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ enum core_ctx_status(9) β€” like, the whole vibe of this one is in the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, right, and there's this little enum whose entire job is to tell you where a context is at in the core hardware's little lifecycle. That's it. That's the enum. It's the status tracker for core hardware context decode, and honestly? Iconic. Lowkey the main character of vdec_msg_queue.h. πŸŽ€


✨ SYNOPSIS ✨

enum core_ctx_status {
    CONTEXT_LIST_EMPTY ,
    CONTEXT_LIST_QUEUED ,
    CONTEXT_LIST_DEC_DONE

};

look at her. three constants, one job. no notes. πŸ’…


🌸 CONSTANTS 🌸

  • CONTEXT_LIST_EMPTY β€” literally nothing is queued on the core hardware rn. And bestie, listen: this one must always be 0. That's not a suggestion, that's the rule. πŸ™ˆ
  • CONTEXT_LIST_QUEUED β€” ooh okay we're moving, the buffer has been queued onto the core work list. she's in the queue, she's waiting her turn. ⭐
  • CONTEXT_LIST_DEC_DONE β€” and that's a wrap! context decode done. slay. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

everything else in the family, fr fr β€” go read the Kernel file:

./drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.h

and while you're there, these besties are all linked up:


🫢 tiny heads-up: CONTEXT_LIST_EMPTY being 0 is load-bearing. do not mess with it. iykyk.

that's the whole page, bestie β€” no cap. source/version line goes a lil something like ./drivers/media/platform/media..., dated October 2026, and it's the enum core_ctx_status(9) page, mwah πŸ’– πŸ¦‹

πŸ“¦ where this page comes from