sti_hqvdp_get_free_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sti_hqvdp_get_free_cmd(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for sti_hqvdp_get_free_cmd β€” this is the function you call when you need a command slot that's free and clear, no cap πŸŽ€


✨ NAME ✨

sti_hqvdp_get_free_cmd β€” the original NAME line leaves the description blank, so no extra spoilers here 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int sti_hqvdp_get_free_cmd (struct sti_hqvdp *hqvdp );

🌸 ARGUMENTS 🌸

  • hqvdp β€” the hqvdp structure πŸ’–

🧚 DESCRIPTION 🧚

Look for a hqvdp_cmd that is not being used (or about to be used) by the FW. That's the whole vibe check: find a command that's free, or at least not about to get snatched up by firmware πŸ‘€


⭐ RETURN ⭐

the offset of the command to be used. -1 in error cases 😭

bestie, if you see -1, that's the error case β€” do not pass go, do not collect your command offset πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/sti/sti_hqvdp.c plus these iconique functions:


mwah πŸ’‹ this page comes from ./drivers/gpu/drm/sti and is dated October 2026 β€” periodt, that's the whole manual entry πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from