hgsmi_query_conf(9)
π hgsmi_query_conf β the Kernel API Manual, bestie edition π
okay so real talk, hgsmi_query_conf(9) is a kernel function and its whole personality is: it goes and asks the host for an HGSMI configuration parameter, and it does it via an HGSMI command. that's it, that's the vibe. no cap. β¨
β¨ NAME β¨
hgsmi_query_conf β Query the host for an HGSMI configuration parameter via an HGSMI command.
like literally, you want a conf value, you ask the host, the host answers through an HGSMI command. iykyk π
π¦ SYNOPSIS π¦
int hgsmi_query_conf (struct gen_pool *ctx , u32 index , u32 *value_ret );
this is the whole signature, character for character, don't come for me π
πΈ ARGUMENTS πΈ
ctxβ the context containing the heap used. like, this is where the heap lives, she's the main character of memory allocation here πindexβ the index of the parameter you wanna query. which one? this one. πvalue_retβ where to store the value of the parameter on success. note the "on success" bestie, if it flops there's nothing to store π
π₯ RETURN π₯
0 or a negative errno value.
so like, 0 = slay, we ate. negative errno = it's giving problems, check your errno fr fr π
π SEE ALSO π
- kernel file:
./drivers/gpu/drm/vboxvideo/hgsmi_base.cβ the source, go read it, it's iconic β hgsmi_report_flags_location(9)hgsmi_send_caps_info(9)hgsmi_update_pointer_shape(9)
all the HGSMI besties, they're a package deal π«Ά
okay that's the whole page, you understood it perfectly, i'm so proud of you π this came to you from ./drivers/gpu/drm/vboxvideo, dated October 2026, and yes the manual itself goes by hgsmi_query_conf(9) β mwah, study hard, drink water, and remember: the heap is in ctx ππ§ββοΈ
π¦ 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