ENUM RST_ID(9)
π 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:
VPU(9)enum ipi_id(9)vpu_ipi_register(9)vpu_ipi_send(9)vpu_get_plat_device(9)vpu_wdt_reg_handler(9)vpu_get_vdec_hw_capa(9)vpu_get_venc_hw_capa(9)vpu_load_firmware(9)vpu_mapping_dm_addr(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms