STRUCT TEGRA_CHANNEL_BUFFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct tegra_channel_buffer(9) πŸŽ€

okay bestie, so this one comes straight out of the Kernel API Manual and it's literally the whole vibe check for the Tegra video channel buffer ✨ it's giving "small struct, big responsibilities" and honestly? obsessed.


🌸 NAME 🌸

struct tegra_channel_buffer β€” video channel buffer πŸ’–

like, that's it, that's the whole name, short and iconic, no cap.


✨ SYNOPSIS ✨

here's the shape of it, copied exactly so you don't have to squint at the source 🫢

struct tegra_channel_buffer {
    struct vb2_v4l2_buffer buf;
    struct list_head queue;
    struct tegra_vi_channel *chan;
    dma_addr_t addr;
    u32 mw_ack_sp_thresh[GANG_PORTS_MAX];
};

πŸ’… Members πŸ’…

okay so these are the actual fields, one by one, no skipping, we don't do that here 😌

  • buf β€” the vb2 buffer base object, aka the whole foundation of this thing, the main character energy of the struct πŸ”₯
  • queue β€” the buffer's list entry inside the channel's queued buffers list, your lil place in line bestie πŸŽ€
  • chan β€” the channel that uses the buffer, like its assigned bestie fr fr πŸ’œ
  • addr β€” the Tegra IOVA buffer address for VI output, that's the actual address, no guessing ✨
  • mw_ack_sp_thresh β€” the MW_ACK_DONE syncpoint threshold that corresponds to the capture buffer, indexed up to GANG_PORTS_MAX πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, iykyk, they're all in the kernel file ./drivers/staging/media/tegra-video/vi.h together, cute little family that they are 🌈

  • struct tegra_vi_ops(9)
  • struct tegra_vi_soc(9)
  • struct tegra_vi(9)
  • struct tegra_vi_channel(9)
  • struct tegra_video_format(9)

ngl bestie, that's the whole page β€” every member, the exact synopsis, the file path, all of it, and you didn't even have to read manpage prose πŸ’€ you're welcome πŸ“

and that's a wrap! this lil entry lives in Kernel API Manual from ./drivers/staging/media/tegra-..., dated October 2026 β€” mwah, slay, periodt πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from