STRUCT HVA_FRAME(9)
π struct hva_frame(9)
okay bestie, welcome to the struct hva_frame(9) page from the Kernel API Manual β yes it's a kernel API page, yes it's giving driver-internals realness, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
struct hva_frame β the hva frame buffer (output) πΈ
like literally that's the whole vibe: it's the frame buffer struct, and it's on the output side of things, iykyk.
π¦ SYNOPSIS π¦
struct hva_frame {
struct vb2_v4l2_buffer vbuf;
struct list_head list;
struct hva_frameinfo info;
dma_addr_t paddr;
void *vaddr;
bool prepared;
};
no cap, that's the whole struct, character for character π
π Members π
vbufβ the video buffer information for V4L2, the classic video-buffer situation πlistβ the V4L2 m2m list that the frame belongs to, so it knows which friend group it's in π«Άinfoβ frame information (width, height, format, alignment...), literally all the frame's stats β¨paddrβ the physical address (for hardware), the hardware's lil home address πvaddrβ the virtual address (kernel can read/write), so the kernel can just. read and write. iconic πpreparedβtrueifvaddr/paddrare resolved, aka the glow-up is complete β
π SEE ALSO π
this is the part where we shout out the whole squad, no one left behind π
- Kernel file
./drivers/media/platform/st/sti/hva/hva.hstruct hva_frameinfo(9)struct hva_streaminfo(9)struct hva_controls(9)struct hva_stream(9)struct hva_ctx_dbg(9)struct hva_ctx(9)struct hva_dev_dbg(9)struct hva_dev(9)struct hva_enc(9)
like that is a full roster fr fr πΈ
lowkey a reminder that this page lives at ./drivers/media/platform/st/st... β that's the truncated path exactly as it shows up in the footer, so don't come for me π₯²
and that's the page!! mwah π this one's from October 2026, straight out of the kernel API manual, struct hva_frame(9) era β periodt, slay, go read the other hva structs π§ββοΈπ₯
π¦ 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