bdisp_hw_get_inc(9)
π NAME π
bdisp_hw_get_inc β okay so bestie, the original literally leaves this blank (just a lonely little dash, no cap π), so all we get is the name itself. It's a kernel function in section 9 of the manual, and it lives to hand you back an increment value. That's the whole vibe check. π¦
β¨ SYNOPSIS β¨
int bdisp_hw_get_inc (u32 from , u32 to , u16 *inc );
π ARGUMENTS π
fromβ the input size, literally the size you're coming from, bestie π«Άtoβ the output size, i.e. the size you're going to β¨incβ the resize increment in 6.10 format, and yes it's au16 *so it's a pointer, don't come for me π
πΈ DESCRIPTION πΈ
It computes the increment β which is the inverse of the scale, iykyk π β in 6.10 format. That's it. That's the whole function. Short and iconic, main character energy fr fr π.
β RETURN β
0 on success π (that's the only thing listed, so don't go expecting a whole novel of error codes, bestie π).
π₯ SEE ALSO π₯
Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c β that's where the actual source lives, go read it, it's giving homework but make it fun ππ
And the whole friend group of related functions, all in section 9:
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_hv_inc(9)bdisp_hw_get_op_cfg(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)
Heads up bestie π«Ά: the original page doesn't spell out anything beyond what's here β no extra warnings, no hidden gotchas, no "oh btw it explodes if youβ¦" notes. So don't invent drama where there isn't any. π
And that's a wrap! π This lil page comes from the kernel API manual, pulled out of ./drivers/media/platform/st/st..., and it's dated October 2026 β yes, a whole future date, we love a time traveler moment β°π. Slay, 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