vmw_query_bo_switch_prepare(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

hey bestie!! welcome to vmw_query_bo_switch_prepare(9) from the Kernel API Manual 🫢

vmw_query_bo_switch_prepare β€” prepare to switch pinned buffer for queries.


✨ SYNOPSIS ✨

it's giving this exact signature, no edits:

int vmw_query_bo_switch_prepare (struct vmw_private *dev_priv , struct
       vmw_bo *new_query_bo , struct vmw_sw_context *sw_context );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev_priv β€” the device private structure.
  • new_query_bo β€” the new buffer holding query results.
  • sw_context β€” the software context used for this command submission.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: vmw_query_bo_switch_prepare does a vibe check on new_query_bo β€” is it suitable for holding query results? πŸ‘€ it also checks if another buffer currently is pinned for query results. if so, it gets the state of sw_context ready for switching pinned buffers after the current command batch has been submitted successfully. that's the tea β˜• β€” it's literally the prep era for the pinned-buffer switch πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

the see-also squad is all here, bestie:


mwah!! this page's source/version is ./drivers/gpu/drm/vmwgfx, and the date is October 2026 β€” see you in the kernel, bestie πŸ«ΆπŸ’…

πŸ“¦ where this page comes from