STRUCT VP9_DRAM_BUF(9)
π struct vp9_dram_buf(9) π
okay so bestie, welcome to Kernel API Manual β section 9, kernel developer's corner, pull up a chair π«Ά. Today's main character is struct vp9_dram_buf, which β as the name lowkey spoils β holds the buffer info for the vpu. That's it, that's the whole vibe. Let's get into it β¨
πΈ NAME πΈ
struct vp9_dram_buf β literally contains buffer info for vpu. no cap, that's the entire job description π
π¦ SYNOPSIS π¦
struct vp9_dram_buf {
unsigned long va;
unsigned long pa;
unsigned int sz;
unsigned int padding;
};
look at her. four fields. immaculate. no notes π
π Members π
vaβ the cpu address π§ . that's the one your cpu knows and loves.paβ the iova address π₯. yes, iova, not pa-pa β write it down, it's on the test.szβ buffer size π. how big the thing is.paddingβ for 64 bytes alignment β¨. it's giving "personal space, but make it divisible by 64."
fr fr bestie, keep that padding field. alignment does not play around π
π SEE ALSO π
- Kernel file ποΈ
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.cβ the actual source file, go read her, she's iconic πstruct vp9_fb_info(9)πstruct vp9_ref_cnt_buf(9)πstruct vp9_ref_buf(9)π§struct vp9_sf_ref_fb(9)β
that's the whole page bestie, you ate that π β¨
π· mwah, signed off with love β source./drivers/media/platform/media..., October 2026, and yes she's stillstruct vp9_dram_buf(9)till the very last line π
π¦ 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