STRUCT VPU_RUN(9)
π struct vpu_run(9) β like, the whole manual page, bestie
okay so quick vibe check: this is a page from the Kernel API Manual, and it's all about struct vpu_run β yes, the VPU initialization status king itself πβ¨ grab a strawberry π and let's get into it.
πΈ NAME πΈ
struct vpu_run β literally the VPU initialization status. that's it, that's the whole thing π
β¨ SYNOPSIS β¨
struct vpu_run {
u32 signaled;
char fw_ver[VPU_FW_VER_LEN];
unsigned int dec_capability;
unsigned int enc_capability;
wait_queue_head_t wq;
};
no cap, that's the exact struct, character for character, don't @ me π
π Members π
signaledβ the signal of vpu initialization completed. basically the little "we're so back" flag π©fw_verβ VPU firmware version. the firmware's whole identity, stored in achararray of lengthVPU_FW_VER_LENπ¦dec_capabilityβ decoder capability which is not used for now and the value is reserved for future use. so like... it's giving placeholder main character energy π it's not doing anything yet, it's just vibing there reserved for the futureenc_capabilityβ encoder capability which is not used for now and the value is reserved for future use. same situation fr fr, also reserved for future use, also not used for now π«Άwqβ wait queue for VPU initialization status. the actualwait_queue_head_twhere everyone waits around for the init status to show up β³
lowkey note:dec_capabilityandenc_capabilityare both not used for now and their values are reserved for future use β so don't go building your whole personality around them yet bestie π
π₯ SEE ALSO π₯
Kernel file ./drivers/media/platform/mediatek/vpu/mtk_vpu.c β and while you're in there, go say hi to the whole friend group:
enum vpu_fw_type(9)struct vpu_mem(9)struct vpu_regs(9)struct vpu_wdt_handler(9)struct vpu_wdt(9)struct vpu_ipi_desc(9)struct share_obj(9)struct mtk_vpu(9)
iykyk π they all ate, honestly.
okay that's the whole page, you understood it perfectly, I'm so proud of you π§π
sign-off time: this came from ./drivers/media/platform/media..., dated October 2026, and it's the struct vpu_run(9) page. periodt. πβ¨
π¦ 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