ENUM IPI_ID(9)
โจ enum ipi_id(9) โจ
okay bestie, welcome to the Kernel API Manual, and specifically to enum ipi_id โ literally the ID list for inter-processor interrupts ๐ซถ this is that classic enum ipi_id(9) page, so let's get into it ๐
๐ SYNOPSIS ๐
enum ipi_id {
IPI_VPU_INIT ,
IPI_VDEC_H264 ,
IPI_VDEC_VP8 ,
IPI_VDEC_VP9 ,
IPI_VENC_H264 ,
IPI_VENC_VP8 ,
IPI_MDP ,
IPI_MAX
};
no cap, that's the whole squad right there ๐
๐ Constants ๐
IPI_VPU_INITโ so this interrupt is coming from the vpu, and its whole job is to notify the kernel that VPU initialization is done โจIPI_VPU_INITgets sent from the VPU when the firmware is loaded. the AP does not need to send theIPI_VPU_INITcommand to the VPU. but for all the other IPIs below? yeah, the AP should send the request to the VPU to trigger the interrupt ๐IPI_VDEC_H264โ the interrupt from the vpu is there to notify the kernel to handle an H264 vidoe decoder job, and vice versa ๐ฆ and heads up: the decode output format is alwaysMT21, no matter what the input format is. periodt.IPI_VDEC_VP8โ the interrupt from is there to notify the kernel to handle a VP8 video decoder job, and vice versa ๐ธ and again: decode output format is alwaysMT21no matter what the input format is ๐IPI_VDEC_VP9โ the interrupt from the vpu is there to notify the kernel to handle a VP9 video decoder job, and vice versa โญ same deal as its sisters: decode output format is alwaysMT21no matter what the input format is ๐IPI_VENC_H264โ the interrupt from the vpu is there to notify the kernel to handle an H264 video encoder job, and vice versa ๐ฅIPI_VENC_VP8โ the interrupt fro vpu is there to notify the kernel to handle a VP8 video encoder job,, and vice versa ๐ญ (yes bestie, that's exactly how it's written, we don't gatekeep typos ๐)IPI_MDPโ the interrupt from the vpu is there to notify the kernel to handle an MDP (Media Data Path) job, and vice versa ๐IPI_MAXโ the maximum IPI number ๐ iconic. the ceiling. the limit.
๐ฆ SEE ALSO ๐ฆ
Kernel file ./drivers/media/platform/mediatek/vpu/mtk_vpu.h โ and honestly go check out these besties too:
VPU(9)enum rst_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 bestie, that file path got cut off in the footer as ./drivers/media/platform/media..., so don't come for me about it ๐
okay and that's the page!! this one came from ./drivers/media/platform/media... and it's dated October 2026, so yeah โ future vibes only ๐ฎ๐ mwah, go read your kernel headers bestie ๐งโจ
๐ฆ 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