vmw_cmd_cid_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vmw_cmd_cid_check πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this little cutie is vmw_cmd_cid_check(9), and honestly? she's short, she's sweet, and she does exactly one thing. main character energy fr.


🌸 NAME 🌸

vmw_cmd_cid_check β€” checks a command header for valid context information πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸ’œ ARGUMENTS πŸ’œ

  • dev_priv β€” a pointer to a device private structure. yes it's literally called that. iconic.
  • sw_context β€” a pointer to the software context. 🫢
  • header β€” a command header with an embedded user-space context handle. the whole point of the function, ngl πŸ’…

✨ DESCRIPTION ✨

convenience function alert!! 🚨 what she does is: call vmw_cmd_res_check with the user-space context handle embedded in header. that's it. that's the whole vibe. lowkey obsessed with how simple that is 😭


⭐ SEE ALSO ⭐

so like. the friend group is huge bestie, buckle up 🧚 β€” it's all in the kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:

seriously go read vmw_cmd_res_check(9) too, that's the one she's calling β€” the rest of the squad is right there waiting 🫢

and that's the page!! 🌈 path <pink>./drivers/gpu/drm/vmwgfx</pink>, dated October 2026, this whole thing brought to you by the Kernel API Manual, vmw_cmd_cid_check(9) πŸ’– bye bestie, go validate some contexts for me πŸ’…βœ¨

πŸ“¦ where this page comes from