hgsmi_query_conf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈

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