ENUM IPI_ID(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ 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_INIT gets sent from the VPU when the firmware is loaded. the AP does not need to send the IPI_VPU_INIT command 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 always MT21, 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 always MT21 no 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 always MT21 no 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:


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