sti_hqvdp_get_next_cmd(9)
π sti_hqvdp_get_next_cmd β the kernel API manual page, bestie edition β¨
okay so first things first: this is sti_hqvdp_get_next_cmd, and it lives in the Kernel API Manual. The official NAME line is literally just sti_hqvdp_get_next_cmd - and then... nothing. A whole dash with no vibes after it. The description slot is empty. Iconic of it, honestly. We move on π
β¨ SYNOPSIS β¨
int sti_hqvdp_get_next_cmd (struct sti_hqvdp *hqvdp );
that's it. that's the whole signature. one function, one pointer, one int coming back at you π«Ά
πΈ ARGUMENTS πΈ
hqvdpβ thehqvdpstructure. that's the whole description. thehqvdpstructure is a structure, and it is calledhqvdp. we are SO back. take it, pass it, love it π
π¦ DESCRIPTION π¦
so what does it actually do? it looks for the next hqvdp_cmd that will be used by the FW. that's the FW, the firmware, not a casual abbreviation, okay π
that's the mission. that's the whole mission. find the next command that the firmware's gonna reach for, and report back. lowkey simple, highkey essential π
π₯ RETURN π₯
what you get back depends, so pay attention bestie:
- the offset of the next command that will be used β that's your happy path, slay β¨
-1β in error cases. so if you see-1, something went sideways. not a vibe, but at least you know fr fr π
π SEE ALSO π
okay this is the friend group. the whole squad lives in the kernel file ./drivers/gpu/drm/sti/sti_hqvdp.c, and these are its besties β go say hi:
sti_hqvdp_get_free_cmd(9)sti_hqvdp_get_curr_cmd(9)sti_hqvdp_update_hvsrc(9)sti_hqvdp_check_hw_scaling(9)sti_hqvdp_disable(9)sti_hqvdp_vtg_cb(9)sti_hqvdp_start_xp70(9)
and that's the page π§ the source path is ./drivers/gpu/drm/sti, and this lil beauty is dated October 2026 β yes, the future. main character energy only. bye bestie, go grab that offset πππ
π¦ 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