bdisp_hw_get_op_cfg(9)
π bdisp_hw_get_op_cfg(9) β a Kernel API Manual moment
okay so bestie, we're in the Kernel API Manual today and this one is a little function with big main-character energy. It lives its life down in the ST/STI bdisp hardware driver, and it's here to look at what the blitter is about to do and set up the scaling math for it. Let's get into it π«Ά
β¨ NAME β¨
bdisp_hw_get_op_cfg β
and honestly? the description box is empty. nothing. a blank. the manpage said "no thoughts, head empty" and moved on. so the name is the whole vibe, iykyk π
π¦ SYNOPSIS π¦
int bdisp_hw_get_op_cfg (struct bdisp_ctx *ctx , struct bdisp_op_cfg *c );
that's it. two pointers in, one int out. short and iconic π
π ARGUMENTS π
ctxβ the device context. this is the whole situation, the state of the world, the main character of the call πcβ the operation configuration. this is where the info about the operation lives so the function can peek at it and do its thing π
πΈ DESCRIPTION πΈ
so what does it actually do? it checks which blitter operations are expected, and then it sets the scaling increments. that's the whole job. no cap π₯
like, it looks at what the blitter is being asked to do and then does the little scaling-increment setup that goes with it. lowkey important, highkey underrated β¨
β RETURN β
0 on success. that's the return, that's the whole list, one value, slay π
π SEE ALSO π
the kernel file in question, living its best life at:
./drivers/media/platform/st/sti/bdisp/bdisp-hw.c
and its whole friend group, the other bdisp functions:
bdisp_hw_reset(9)bdisp_hw_get_and_clear_irq(9)bdisp_hw_free_nodes(9)bdisp_hw_alloc_nodes(9)bdisp_hw_free_filters(9)bdisp_hw_alloc_filters(9)bdisp_hw_get_hf_addr(9)bdisp_hw_get_vf_addr(9)bdisp_hw_get_inc(9)bdisp_hw_get_hv_inc(9)bdisp_hw_color_format(9)bdisp_hw_build_node(9)bdisp_hw_build_all_nodes(9)bdisp_hw_save_request(9)bdisp_hw_update(9)
ngl, this page is short, but every single one of those refs matters β go read the squad if you're doing bdisp things fr fr π«Ά
okay that's the whole page bestie, and before you go β credits where credits are due: this one comes from ./drivers/media/platform/st/st... and it's dated October 2026, and yeah, the footer's out here signing off as bdisp_hw_get_op_cfg(9) like the icon it is π
πΈ bye!
π¦ 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