STRUCT VSP1_DU_LIF_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 it true for interlaced pipelines, fr fr
  • callback β€” 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 each vsp1_du_atomic_flush call. 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