ENUM RST_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum rst_id (9) β€” like, the Kernel API Manual, bestie ✨

okay so real talk, this one's from the Kernel API Manual (enum rst_id(9)) and it is short but it is doing its job and we respect that 🫢


🌸 NAME 🌸

enum rst_id β€” it's the reset id you use to register a reset function for the VPU watchdog timeout πŸ’– lowkey essential, highkey underrated.


✨ SYNOPSIS ✨

here's the whole vibe, verbatim, no edits, we do not touch the code:

enum rst_id {
    VPU_RST_ENC ,
    VPU_RST_DEC ,
    VPU_RST_MDP ,
    VPU_RST_MAX

};

πŸŽ€ Constants πŸŽ€

bestie these are the four members, and they are exactly four, no more, no less:

  • VPU_RST_ENC β€” the encoder reset id 🎬 like, the one for encoding.
  • VPU_RST_DEC β€” the decoder reset id πŸ“Ό the matching one for decoding, periodt.
  • VPU_RST_MDP β€” the MDP (Media Data Path) reset id πŸ›€οΈ yes, that's what MDP stands for, it's in the parentheses, iykyk.
  • VPU_RST_MAX β€” the maximum reset id πŸ‘‘ the ceiling, the final boss, the limit.

πŸ¦‹ SEE ALSO πŸ¦‹

go read the kernel file ./drivers/media/platform/mediatek/vpu/mtk_vpu.h fr fr, and then these iconic siblings:


ngl there's not a single warning or bug note in this whole page, which is honestly a slay for us πŸ’€ no undefined behaviour to worry about here, bestie, just a tidy little enum.

and that's the whole page, mwah πŸ’‹ this icon is brought to you by the source ./drivers/media/platform/media... dated October 2026 β€” mark your calendar, screenshot it, put it on the fridge, that's the vibe check and it passed πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from