STRUCT VDEC_VPU_IPI_INIT_ACK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vdec_vpu_ipi_init_ack β€” a Kernel API Manual moment

okay bestie, welcome to the Kernel API Manual ✨ (yes that's the manual name, we're fancy here), and today's main character is struct vdec_vpu_ipi_init_ack. Say that five times fast. Actually don't, you'll pull something. πŸ’€


🌸 NAME 🌸

struct vdec_vpu_ipi_init_ack β€” literally the struct for VPU_IPIMSG_DEC_INIT_ACK. that's it. that's the whole vibe check. 🫢


✨ SYNOPSIS ✨

here she is in all her glory, no cap, every field exactly where it belongs πŸ‘‘

struct vdec_vpu_ipi_init_ack {
    uint32_t msg_id;
    int32_t status;
    uint64_t ap_inst_addr;
    uint32_t vpu_inst_addr;
    uint32_t vdec_abi_version;
    uint32_t inst_id;
 };

πŸŽ€ Members πŸŽ€

  • msg_id β€” this one's VPU_IPIMSG_DEC_INIT_ACK. iconic, honestly.
  • status β€” the VPU exeuction result. (that's "execution" spelled the way the kernel spelled it, don't come for me πŸ™ˆ) so like, did it slay or did it flop.
  • ap_inst_addr β€” the AP vcodec_vpu_inst instance address. that's the AP-side address of the instance, bestie.
  • vpu_inst_addr β€” the VPU decoder instance address. the VPU's own little address. very demure.
  • vdec_abi_version β€” the ABI version of the firmware. the kernel can use this to make sure it's compatible with the firmware πŸ”₯. but heads up β€” this field is not valid for MT8173 and must not be accessed for that chip. like, do not touch. don't even look at it sideways. 😭
  • inst_id β€” the instance ID. valid only if the ABI version >= 2. so check your version first, bestie, iykyk. ⭐
lowkey the recurring theme here: check your chip, check your ABI version, then access the field. main character energy requires reading the fine print πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

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

that's the whole friend group, go say hi to all of them 🫢🌈


and that's the page!! πŸ’– this little cutie comes to you from ./drivers/media/platform/media... β€” that's the source/version line, mwah β€” dated October 2026, and the footer wants you to know it's still struct vdec_...ipi_init_ack(9) the whole way through. periodt. πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from