vmw_cmd_dx_...uffer_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the manual page for vmw_cmd_dx_...uffer_offset(9) β€” that's the Kernel API Manual entry, and the function it's actually about is vmw_cmd_dx_set_constant_buffer_offset. it validates the SVGA_3D_CMD_DX_SET_VS/PS/GS/HS/DS/CS_CONSTANT_BUFFER_OFFSET command. that's it, that's the whole job. she checks the command, she vibes, she slays. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like, that's the whole signature. no cap, that's literally the entire thing. πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • dev_priv β€” pointer to a device private struct. yep, the device's own private little struct, main character energy fr.
  • sw_context β€” the software context being used for this batch. she's the vibe of the batch, iykyk. 🫢
  • header β€” pointer to the command header in the command stream. it points at the header, that's the whole assignment and she ate. πŸ‘‘

🌈 SEE ALSO 🌈

sooooo many cousins at this family reunion, bestie. the kernel file is ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c, and here's everyone else on the guest list (all section 9, obviously πŸ’…):

  • struct vmw_relocation
  • enum vmw_resource_relocation_type
  • struct vmw_resource_relocation
  • struct vmw_ctx_validation_info
  • struct vmw_cmd_entry
  • vmw_ptr_diff
  • vmw_execbuf_bindings_commit
  • vmw_bind_dx_query_mob
  • vmw_cmd_ctx_first_setup
  • vmw_execbuf_res_size
  • vmw_execbuf_rcache_update
  • vmw_execbuf_res_val_add
  • vmw_view_res_val_add
  • vmw_view_id_val_add
  • vmw_resource_context_res_add
  • vmw_resource_relocation_add
  • vmw_resource_relocations_free
  • vmw_resource_relocations_apply
  • vmw_resources_reserve
  • vmw_cmd_res_check
  • vmw_rebind_all_dx_query
  • vmw_rebind_contexts
  • vmw_view_bindings_add
  • vmw_cmd_cid_check
  • vmw_execbuf_info_from_res
  • vmw_query_bo_switch_prepare
  • vmw_query_bo_switch_commit
  • vmw_translate_mob_ptr
  • vmw_translate_guest_ptr
  • vmw_cmd_dx_define_query
  • vmw_cmd_dx_bind_query
  • vmw_cmd_begin_gb_query
  • vmw_cmd_begin_query
  • vmw_cmd_end_gb_query
  • vmw_cmd_end_query
  • vmw_cmd_wait_gb_query
  • vmw_cmd_wait_query
  • vmw_cmd_res_switch_backup
  • vmw_cmd_switch_backup
  • vmw_cmd_bind_gb_surface
  • vmw_cmd_update_gb_image
  • vmw_cmd_update_gb_surface
  • vmw_cmd_readback_gb_image
  • vmw_cmd_readback_gb_surface
  • vmw_cmd_invalidate_gb_image
  • vmw_cmd_invalidate_gb_surface
  • vmw_cmd_shader_define
  • vmw_cmd_shader_destroy
  • vmw_cmd_set_shader
  • vmw_cmd_set_shader_const
  • vmw_cmd_bind_gb_shader
  • vmw_cmd_dx_set_single_constant_buffer
  • vmw_cmd_dx_set_shader_res
  • vmw_cmd_dx_set_shader
  • vmw_cmd_dx_set_vertex_buffers
  • vmw_cmd_dx_set_index_buffer
  • vmw_cmd_dx_set_rendertargets
  • vmw_cmd_dx_clear_rendertarget_view
  • vmw_cmd_dx_clear_depthstencil_view
  • vmw_cmd_dx_set_so_targets
  • vmw_cmd_dx_check_subresource
  • vmw_cmd_dx_view_remove
  • vmw_cmd_dx_define_shader
  • vmw_cmd_dx_destroy_shader
  • vmw_cmd_dx_bind_shader
  • vmw_cmd_dx_genmips
  • vmw_cmd_dx_transfer_from_buffer
  • vmw_cmd_intra_surface_copy
  • vmw_execbuf_copy_fence_user
  • vmw_execbuf_submit_fifo
  • vmw_execbuf_submit_cmdbuf
  • vmw_execbuf_cmdbuf
  • vmw_execbuf_unpin_panic
  • __vmw_execbuf_release_pinned_bo
  • vmw_execbuf_release_pinned_bo

that's the whole group chat, nobody left on read. πŸ˜­πŸ’œ


ngl bestie, this page lives in ./drivers/gpu/drm/vmwgfx, and it's dated October 2026 β€” the version tag on this one is vmw_cmd_dx_...uffer_offset(9), same as the title, so yeah, she's consistent. 🌸

and that's the page!! go validate those constant buffer offset commands, you absolute icon πŸ§šβ­πŸ“

πŸ“¦ where this page comes from