STRUCT BDISP_CTX(9)
π struct bdisp_ctx(9) β like, the whole vibe, bestie β¨
okay so this is a page straight outta the Kernel API Manual, and it's about struct bdisp_ctx β aka the device context data π. Think of it as the little bag of everything one open context needs to remember. No cap, it's giving backstage-pass energy. π«Ά
πΈ NAME πΈ
struct bdisp_ctx β device context data, periodt. π
β¨ SYNOPSIS β¨
like, here's the whole thing, character for character, don't @ me:
struct bdisp_ctx {
struct bdisp_frame src;
struct bdisp_frame dst;
u32 state;
unsigned int hflip:1;
unsigned int vflip:1;
struct bdisp_dev *bdisp_dev;
struct bdisp_node *node[MAX_NB_NODE];
dma_addr_t node_paddr[MAX_NB_NODE];
struct v4l2_fh fh;
struct v4l2_ctrl_handler ctrl_handler;
struct bdisp_ctrls bdisp_ctrls;
bool ctrls_rdy;
};
π Members π
okay bestie, let's meet the cast β every single one of them, no skips, iykyk π
srcβ source frame properties π¦ like, where the pixels are coming from.dstβ destination frame properties β¨ and where they're going. main character destination energy.stateβ flags to keep track of user configuration π the receipts, basically.hflipβ horizontal flip π left-right, flipped.vflipβ vertical flip πΈ up-down, also flipped. symmetry slay.bdisp_devβ the device this context applies to π₯ the actual hardware bestie this whole thing belongs to.nodeβ node array β yep, an array of them.node_paddrβ node physical address array π the addresses that go with the nodes above. matching set, cute.fhβ v4l2 file handle π the v4l2 handle, holding it down.ctrl_handlerβ v4l2 controls handler π the v4l2 controls handler, doing handler things.bdisp_ctrlsβ bdisp control set π the whole set of bdisp controls.ctrls_rdyβtrueif the control handler is initialized β literally just a bool telling you the control handler is ready. not me checking this before touching anything π.
π₯ SEE ALSO π₯
go look at these next, bestie, they're all connected:
- Kernel file
./drivers/media/platform/st/sti/bdisp/bdisp.hstruct bdisp_fmt(9)bdisp_frame(9)bdisp_request(9)bdisp_m2m_device(9)bdisp_dbg(9)bdisp_dev(9)
π reminder that this page lives at ./drivers/media/platform/st/st... in the tree β don't lose it.
okay that's the whole page, you ate that π«Άπ
from the Kernel API Manual, dated October 2026, filed under struct bdisp_ctx(9) β bye bestie, slay your kernel journey β¨ππ
π¦ 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