vsp1_du_enable(9)
π vsp1_du_enable β kernel API manual, but make it make sense π
okay bestie, so the title of this whole situation is vsp1_du_enable and it lives in the Kernel API Manual (yes, the (9) is the section, we love a numbered era). Buckle up, this one's about waking up a display pipeline π¦
β¨ NAME β¨
vsp1_du_enable β setup and enable a DU pipeline. that's it, that's the whole vibe: set it up, turn it on, slay π
πΈ SYNOPSIS πΈ
int vsp1_du_enable (struct device *dev , unsigned int pipe_index ,
const struct vsp1_du_lif_config *cfg );
like, three args, one int return, very demure, very mindful β¨
π«Ά ARGUMENTS π«Ά
devβ the VSP device. your main character right here πpipe_indexβ the DRM pipeline index. which pipeline are we doing bestie, pick one πcfgβ the LIF configuration. the whole blueprint, fr fr π
π₯ DESCRIPTION π₯
So what this does is configure the output part of the VSP DRM pipeline for the frame described by cfg.width and cfg.height. Not me getting emotional over a width and height. π
It sets up formats on the BRx source pad, the WPF sink and source pads, and the LIF sink pad β and then it starts the pipeline. boom. pipeline started. we're live π
The pipe_index argument selects which DRM pipeline gets set up. and like, how many pipelines are available? that depends on the VSP instance. no cap, it's per-instance, so don't come for me asking for a fixed number π
Now here's the niche lore, iykyk: because the media bus code on the blend unit source pad is conditioned by the configuration of its sink 0 pad, we also set up the formats on all blend unit sinks β even if that configuration is gonna get overwritten later by vsp1_du_setup_rpf. like yes it's getting replaced but babe, it still matters, because this makes sure the blend unit configuration is set to a well defined state β¨ iconic defensive programming honestly
Return 0 on success, or a negative error code on failure. that's the whole contract, bestie, respect it π«Ά
π¦ SEE ALSO π¦
- Kernel file
./drivers/media/platform/renesas/vsp1/vsp1_drm.cβ go read the source, it's literally right there π vsp1_du_disable(9)vsp1_du_atomic_begin(9)vsp1_du_atomic_update(9)vsp1_du_atomic_flush(9)
the whole friend group, all linked up π§π
and that's the page!! mwah π it came from ./drivers/media/platform/renes... (the source path, slightly truncated like a cute little teaser) with the version tag vsp1_du_enable(9), dated October 2026 β yes, October 2026, we're manifesting the future, 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