STRUCT VDEC_AP_IPI_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, you're on the struct vdec_ap_ipi_cmd(9) page in the Kernel API Manual, and this struct is literally the generic AP to VPU ipi command format β€” the whole little message-shape, no cap. It's giving "kernel struct that knows exactly what it is." πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the exact shape, so don't freestyle the fields:

       struct vdec_ap_ipi_cmd {
           uint32_t msg_id;
           union {
             uint32_t vpu_inst_addr;
             uint32_t inst_id;
           };
           u32 codec_type;
           u32 reserved;
        };

πŸŽ€ Members πŸŽ€

  • msg_id β€” this one's a vdec_ipi_msgid. That's the message ID type, periodt.
  • {unnamed_union} β€” anonymous. The union has no name, bestie; it's just out here living its anonymous truth. 🫢
    • vpu_inst_addr β€” VPU decoder instance address. Used if ABI version < 2.
    • inst_id β€” instance ID. Used if the ABI version >= 2.
  • codec_type β€” codec fourcc. Slay. ✨
  • reserved β€” reserved param. That's the whole description; it is reserved, and that's the tea. 🍡

πŸ”₯ SEE ALSO πŸ”₯

okay bestie, go check these out if you want the full lore:

  • Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h
  • struct vdec_vpu_ipi_ack(9)
  • struct vdec_ap_ipi_init(9)
  • struct vdec_ap_ipi_dec_start(9)
  • struct vdec_vpu_ipi_init_ack(9)
  • struct vdec_ap_ipi_get_param(9)
  • struct vdec_vpu_ipi_get_param_ack(9)

and that's the page, bestie! 🫢 this cutie's source/version footer points at ./drivers/media/platform/media..., it's dated October 2026, and the title is still struct vdec_ap_ipi_cmd(9) β€” okay bye, slay! πŸ’–βœ¨

πŸ“¦ where this page comes from