STRUCT VSP1_DU_LIF_CONFIG(9)
π struct vsp1_du_lif_config(9) β the VSP LIF glow-up π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's all about struct vsp1_du_lif_config, aka the VSP LIF configuration. it's giving "small struct, big responsibilities" and honestly? we're obsessed π
πΈ NAME πΈ
struct vsp1_du_lif_config β VSP LIF configuration, literally what it says on the tin π
π¦ SYNOPSIS π¦
here's the whole struct, copied exactly, no cap:
struct vsp1_du_lif_config {
unsigned int width;
unsigned int height;
bool interlaced;
void (*callback)(void *data, unsigned int status, u32 crc);
void *callback_data;
};
π Members π
widthβ the output frame width, like how wide the frame is gonna be π«Άheightβ the output frame height, same vibe, but vertical πinterlacedβ set ittruefor interlaced pipelines, fr frcallbackβ the frame completion callback function, and it's optional bestie β¨. here's the tea though: when you do provide a callback, the VSP driver guarantees that it will be called once and only once for eachvsp1_du_atomic_flushcall. once! and only once! iconic behavior honestly π₯callback_dataβ the data that gets passed along to the frame completion callback, like a little gift basket π
β SEE ALSO β
sibling structs and friends, go show them some love π β kernel file ./include/media/vsp1.h, struct vsp1_du_atomic_config(9), enum vsp1_du_crc_source(9), struct vsp1_du_crc_config(9), struct vsp1_du_writeback_config(9), struct vsp1_du_atomic_pipe_config(9), struct vsp1_isp_buffer_desc(9), struct vsp1_isp_job_desc(9), and struct vsp1_vspx_frame_end(9) π¦
ok that's the whole thing, no skips, no summaries, every single member accounted for. you're welcome π
and that's a wrap, bestie!! π this masterpiece lives in ./include/media and it's dated October 2026 β so go forth, configure your LIF, and slay ππβ¨
π¦ 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