vmw_cmd_end_query(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_cmd_end_query β€” a little field guide from ur fave kernel bestie πŸŽ€

okay so real talk: this is a page out of the Kernel API Manual, and it's about vmw_cmd_end_query. the whole vibe is "check that this one command in the command stream is actually valid before we yeet it at the GPU." short page, iconic energy, let's go ✨


✨ NAME ✨

vmw_cmd_end_query β€” bestie, this is the one that validates the SVGA_3D_CMD_END_QUERY command. that's it, that's the whole job, and honestly? she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

int vmw_cmd_end_query (struct vmw_private *dev_priv , struct
vmw_sw_context *sw_context , SVGA3dCmdHeader *header );

like… look at that return type. an int. she's gonna tell you if things are fine, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

so there's three of them and they each have main character energy in their own way:

  • dev_priv β€” a pointer to a device private struct. your device's whole lil personal diary, basically πŸ““
  • sw_context β€” the software context used for this command submission. like the group chat where this one submission lives πŸ’¬
  • header β€” a pointer to the command header inside the command stream. this is the part of the stream we're actually looking at πŸ‘€

πŸ’– SEE ALSO πŸ’–

grab a snack, this list is long and honestly it ate. everything below is a (9) kernel API page unless it's the file path at the top:

like I said. long. but every single one of them is here, so don't come for me πŸ’€


ok and one last thing before u go β€” this page lives under ./drivers/gpu/drm/vmwgfx and it's dated October 2026, so like… mark ur calendar bestie πŸ—“οΈπŸ’œ

and that's the whole page!! short, sweet, validated. go check those query commands, u got this πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from