vpu_ipi_send(9)
π vpu_ipi_send(9) β like, the Kernel API Manual page, bestie π
okay so bestie, welcome to the Kernel API Manual entry for vpu_ipi_send(9) β this is the whole vibe, let's get into it β¨
πΈ NAME πΈ
vpu_ipi_send β send data from AP to vpu. literally that's the whole job, no cap π«Ά
π¦ SYNOPSIS π¦
int vpu_ipi_send (struct platform_device *pdev , enum ipi_id id , void
*buf , unsigned int len );
that's the whole signature, copied exactly bestie, don't come for me π
β ARGUMENTS β
pdevβ the VPU platform device π (yes, the device. the platform-y one.)idβ the IPI ID π (it's anenum ipi_id, iykyk)bufβ the data buffer π (this is where your actual data lives)lenβ the data buffer length πΈ (how much ofbufyou actually mean)
π DESCRIPTION π
okay so here's the tea β β this function is thread-safe. like, genuinely, you can call it from multiple threads and it just works, no drama π
and the timing is the iconic part: the moment this function returns, the VPU has already received the data and has started processing it. not me sending it and it's already being handled π₯
when the processing completes, the IPI handler you registered with vpu_ipi_register gets called β and heads up bestie, it gets called in interrupt context β‘ so be normal about that please π
π RETURN π
returns 0 if sending the data went successfully π β otherwise, it's a fail, and that's that π
π§ SEE ALSO π§
the kernel file is ./drivers/media/platform/mediatek/vpu/mtk_vpu.h and it's giving main character energy β¨ go read it, then go read all of these:
VPU(9)enum ipi_id(9)enum rst_id(9)vpu_ipi_register(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)
like, the whole squad, obsessed π
k that's the page!! sending you good vibes and correct len values only π«Άπ
sign-off time π β this lil entry lives in ./drivers/media/platform/media..., it's dated October 2026, and it's filed under the vpu_ipi_send(9) header, 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