id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
vmw_cmd_dx_bind_shader(9) | NAME vmw_cmd_dx_bind_shader - Validate SVGA_3D_CMD_DX_BIND_SHADER command
SYNOPSIS int vmw_cmd_dx_bind_shader (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for... |
vmw_cmd_dx_check_subresource(9) | NAME vmw_cmd_dx_check_subresource - Validate SVGA_3D_CMD_DX_[X]_SUBRESOURCE command
SYNOPSIS int vmw_cmd_dx_check_subresource (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software contex... |
vmw_cmd_dx_clear_depthstencil_view(9) | NAME vmw_cmd_dx_clear_depthstencil_view - Validate SVGA_3D_CMD_DX_CLEAR_DEPTHSTENCIL_VIEW command
SYNOPSIS int vmw_cmd_dx_clear_depthstencil_view (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context ... |
vmw_cmd_dx_clear_rendertarget_view(9) | NAME vmw_cmd_dx_clear_rendertarget_view - Validate SVGA_3D_CMD_DX_CLEAR_RENDERTARGET_VIEW command
SYNOPSIS int vmw_cmd_dx_clear_rendertarget_view (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context ... |
vmw_cmd_dx_define_query(9) | NAME vmw_cmd_dx_define_query - validate SVGA_3D_CMD_DX_DEFINE_QUERY command.
SYNOPSIS int vmw_cmd_dx_define_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for t... |
vmw_cmd_dx_define_shader(9) | NAME vmw_cmd_dx_define_shader - Validate SVGA_3D_CMD_DX_DEFINE_SHADER command
SYNOPSIS int vmw_cmd_dx_define_shader (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being us... |
vmw_cmd_dx_destroy_shader(9) | NAME vmw_cmd_dx_destroy_shader - Validate SVGA_3D_CMD_DX_DESTROY_SHADER command
SYNOPSIS int vmw_cmd_dx_destroy_shader (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being... |
vmw_cmd_dx_genmips(9) | NAME vmw_cmd_dx_genmips - Validate SVGA_3D_CMD_DX_GENMIPS command
SYNOPSIS int vmw_cmd_dx_genmips (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for this batch.... |
vmw_cmd_dx_set_constant_buffer_offset(9) | NAME vmw_cmd_dx_set_constant_buffer_offset - Validate SVGA_3D_CMD_DX_SET_VS/PS/GS/HS/DS/CS_CONSTANT_BUFFER_OFFSET command.
SYNOPSIS int vmw_cmd_dx_set_constant_buffer_offset (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private... |
vmw_cmd_dx_set_index_buffer(9) | NAME vmw_cmd_dx_set_index_buffer - Validate SVGA_3D_CMD_DX_IA_SET_INDEX_BUFFER command.
SYNOPSIS int vmw_cmd_dx_set_index_buffer (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software con... |
vmw_cmd_dx_set_rendertargets(9) | NAME vmw_cmd_dx_set_rendertargets - Validate SVGA_3D_CMD_DX_SET_RENDERTARGETS command
SYNOPSIS int vmw_cmd_dx_set_rendertargets (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software cont... |
vmw_cmd_dx_set_shader(9) | NAME vmw_cmd_dx_set_shader - Validate SVGA_3D_CMD_DX_SET_SHADER command
SYNOPSIS int vmw_cmd_dx_set_shader (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for th... |
vmw_cmd_dx_set_shader_res(9) | NAME vmw_cmd_dx_set_shader_res - Validate SVGA_3D_CMD_DX_SET_SHADER_RESOURCES command
SYNOPSIS int vmw_cmd_dx_set_shader_res (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context... |
vmw_cmd_dx_set_single_constant_buffer(9) | NAME vmw_cmd_dx_set_single_constant_buffer - Validate SVGA_3D_CMD_DX_SET_SINGLE_CONSTANT_BUFFER command.
SYNOPSIS int vmw_cmd_dx_set_single_constant_buffer (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
s... |
vmw_cmd_dx_set_so_targets(9) | NAME vmw_cmd_dx_set_so_targets - Validate SVGA_3D_CMD_DX_SET_SOTARGETS command.
SYNOPSIS int vmw_cmd_dx_set_so_targets (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being... |
vmw_cmd_dx_set_vertex_buffers(9) | NAME vmw_cmd_dx_set_vertex_buffers - Validates SVGA_3D_CMD_DX_SET_VERTEX_BUFFERS command
SYNOPSIS int vmw_cmd_dx_set_vertex_buffers (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software ... |
vmw_cmd_dx_transfer_from_buffer(9) | NAME vmw_cmd_dx_transfer_from_buffer - Validate SVGA_3D_CMD_DX_TRANSFER_FROM_BUFFER command
SYNOPSIS int vmw_cmd_dx_transfer_from_buffer (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The soft... |
vmw_cmd_dx_view_remove(9) | NAME vmw_cmd_dx_view_remove - validate a view remove command and schedule the view resource for removal.
SYNOPSIS int vmw_cmd_dx_view_remove (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The ... |
vmw_cmd_emit_dummy_gb_query(9) | NAME vmw_cmd_emit_dummy_gb_query - emits a dummy query to the fifo using guest-backed resource query commands.
SYNOPSIS int vmw_cmd_emit_dummy_gb_query (struct vmw_private *dev_priv , uint32_t cid );
ARGUMENTS dev_priv The device private structure.
cid The hardware context id used for the query.
D... |
vmw_cmd_emit_dummy_legacy_query(9) | NAME vmw_cmd_emit_dummy_legacy_query - emits a dummy query to the fifo using legacy query commands.
SYNOPSIS int vmw_cmd_emit_dummy_legacy_query (struct vmw_private *dev_priv , uint32_t cid );
ARGUMENTS dev_priv The device private structure.
cid The hardware context id used for the query.
DESCRIPT... |
vmw_cmd_emit_dummy_query(9) | NAME vmw_cmd_emit_dummy_query - emits a dummy query to the fifo using appropriate resource query commands.
SYNOPSIS int vmw_cmd_emit_dummy_query (struct vmw_private *dev_priv , uint32_t cid );
ARGUMENTS dev_priv The device private structure.
cid The hardware context id used for the query.
DESCRIPT... |
vmw_cmd_end_gb_query(9) | NAME vmw_cmd_end_gb_query - validate SVGA_3D_CMD_END_GB_QUERY command.
SYNOPSIS int vmw_cmd_end_gb_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this comma... |
vmw_cmd_end_query(9) | NAME vmw_cmd_end_query - validate SVGA_3D_CMD_END_QUERY command.
SYNOPSIS int vmw_cmd_end_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this command submis... |
vmw_cmd_flush(9) | NAME vmw_cmd_flush - Flush any buffered commands and make sure command processing starts.
SYNOPSIS int vmw_cmd_flush (struct vmw_private *dev_priv , bool interruptible );
ARGUMENTS dev_priv Pointer to device private structure.
interruptible
Whether to wait interruptible if function needs... |
vmw_cmd_intra_surface_copy(9) | NAME vmw_cmd_intra_surface_copy - Validate SVGA_3D_CMD_INTRA_SURFACE_COPY command
SYNOPSIS int vmw_cmd_intra_surface_copy (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context be... |
vmw_cmd_invalidate_gb_image(9) | NAME vmw_cmd_invalidate_gb_image - Validate SVGA_3D_CMD_INVALIDATE_GB_IMAGE command
SYNOPSIS int vmw_cmd_invalidate_gb_image (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context... |
vmw_cmd_invalidate_gb_surface(9) | NAME vmw_cmd_invalidate_gb_surface - Validate SVGA_3D_CMD_INVALIDATE_GB_SURFACE command
SYNOPSIS int vmw_cmd_invalidate_gb_surface (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software c... |
vmw_cmd_readback_gb_image(9) | NAME vmw_cmd_readback_gb_image - Validate SVGA_3D_CMD_READBACK_GB_IMAGE command
SYNOPSIS int vmw_cmd_readback_gb_image (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being... |
vmw_cmd_readback_gb_surface(9) | NAME vmw_cmd_readback_gb_surface - Validate SVGA_3D_CMD_READBACK_GB_SURFACE command
SYNOPSIS int vmw_cmd_readback_gb_surface (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context... |
vmw_cmd_res_check(9) | NAME vmw_cmd_res_check - Check that a resource is present and if so, put it on the resource validate list unless it's already there.
SYNOPSIS int vmw_cmd_res_check (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , enum vmw_res_type res_type , u32 dirty , const struct vmw_user_resource_conv *conver... |
vmw_cmd_res_switch_backup(9) | NAME vmw_cmd_res_switch_backup - Utility function to handle backup buffer switching
SYNOPSIS int vmw_cmd_res_switch_backup (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , struct vmw_resource *res , uint32_t *buf_id , unsigned long backup_offset );
ARGUMENTS dev_priv Pointer to a device private ... |
vmw_cmd_set_shader(9) | NAME vmw_cmd_set_shader - Validate SVGA_3D_CMD_SET_SHADER command
SYNOPSIS int vmw_cmd_set_shader (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for this batch.... |
vmw_cmd_set_shader_const(9) | NAME vmw_cmd_set_shader_const - Validate SVGA_3D_CMD_SET_SHADER_CONST command
SYNOPSIS int vmw_cmd_set_shader_const (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being us... |
vmw_cmd_shader_define(9) | NAME vmw_cmd_shader_define - Validate SVGA_3D_CMD_SHADER_DEFINE command
SYNOPSIS int vmw_cmd_shader_define (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for th... |
vmw_cmd_shader_destroy(9) | NAME vmw_cmd_shader_destroy - Validate SVGA_3D_CMD_SHADER_DESTROY command
SYNOPSIS int vmw_cmd_shader_destroy (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for... |
vmw_cmd_supported(9) | NAME vmw_cmd_supported - returns true if the given device supports command queues.
SYNOPSIS bool vmw_cmd_supported (struct vmw_private *vmw );
ARGUMENTS vmw The device private structure.
DESCRIPTION Returns true if we can issue commands.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c vmw_cmd_com... |
vmw_cmd_switch_backup(9) | NAME vmw_cmd_switch_backup - Utility function to handle backup buffer switching
SYNOPSIS int vmw_cmd_switch_backup (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , enum vmw_res_type res_type , const struct vmw_user_resource_conv *converter , uint32_t *res_id , uint32_t *buf_id , unsigned long bac... |
vmw_cmd_update_gb_image(9) | NAME vmw_cmd_update_gb_image - Validate SVGA_3D_CMD_UPDATE_GB_IMAGE command
SYNOPSIS int vmw_cmd_update_gb_image (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used ... |
vmw_cmd_update_gb_surface(9) | NAME vmw_cmd_update_gb_surface - Validate SVGA_3D_CMD_UPDATE_GB_SURFACE command
SYNOPSIS int vmw_cmd_update_gb_surface (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being... |
vmw_cmd_wait_gb_query(9) | NAME vmw_cmd_wait_gb_query - validate SVGA_3D_CMD_WAIT_GB_QUERY command.
SYNOPSIS int vmw_cmd_wait_gb_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this co... |
vmw_cmd_wait_query(9) | NAME vmw_cmd_wait_query - validate SVGA_3D_CMD_WAIT_QUERY command.
SYNOPSIS int vmw_cmd_wait_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this command sub... |
vmw_cmdbuf_alloc(9) | NAME vmw_cmdbuf_alloc - Allocate a command buffer header complete with command buffer space.
SYNOPSIS void * vmw_cmdbuf_alloc (struct vmw_cmdbuf_man *man , size_t size , bool interruptible , struct vmw_cmdbuf_header **p_header );
ARGUMENTS man The command buffer manager.
size The requested size... |
vmw_cmdbuf_alloc_space(9) | NAME vmw_cmdbuf_alloc_space - Allocate buffer space from the main pool.
SYNOPSIS int vmw_cmdbuf_alloc_space (struct vmw_cmdbuf_man *man , struct drm_mm_node *node , size_t size , bool interruptible );
ARGUMENTS man The command buffer manager.
node Pointer to pre-allocated range-manager node.
... |
vmw_cmdbuf_commit(9) | NAME vmw_cmdbuf_commit - Commit commands in a command buffer.
SYNOPSIS void vmw_cmdbuf_commit (struct vmw_cmdbuf_man *man , size_t size , struct vmw_cmdbuf_header *header , bool flush );
ARGUMENTS man The command buffer manager.
size The size of the commands actually written.
header ... |
vmw_cmdbuf_commit_cur(9) | NAME vmw_cmdbuf_commit_cur - Commit commands in the current command buffer.
SYNOPSIS void vmw_cmdbuf_commit_cur (struct vmw_cmdbuf_man *man , size_t size , bool flush );
ARGUMENTS man The command buffer manager.
size The size of the commands actually written.
flush Whether to flus... |
vmw_cmdbuf_ctx_add(9) | NAME vmw_cmdbuf_ctx_add - Schedule a command buffer for submission on a command buffer context
SYNOPSIS void vmw_cmdbuf_ctx_add (struct vmw_cmdbuf_man *man , struct vmw_cmdbuf_header *header , SVGACBContext cb_context );
ARGUMENTS man The command buffer manager.
header The header of the buffer to... |
vmw_cmdbuf_ctx_init(9) | NAME vmw_cmdbuf_ctx_init - Initialize a command buffer context.
SYNOPSIS void vmw_cmdbuf_ctx_init (struct vmw_cmdbuf_context *ctx );
ARGUMENTS ctx The command buffer context to initialize
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c struct vmw_cmdbuf_context(9), struct vmw_cmdbuf_man(9), ... |
vmw_cmdbuf_ctx_process(9) | NAME vmw_cmdbuf_ctx_process - Process a command buffer context.
SYNOPSIS void vmw_cmdbuf_ctx_process (struct vmw_cmdbuf_man *man , struct vmw_cmdbuf_context *ctx , int *notempty );
ARGUMENTS man The command buffer manager.
ctx The command buffer context.
notempty Pass back count of ... |
vmw_cmdbuf_ctx_submit(9) | NAME vmw_cmdbuf_ctx_submit - Submit command buffers from a command buffer context.
SYNOPSIS void vmw_cmdbuf_ctx_submit (struct vmw_cmdbuf_man *man , struct vmw_cmdbuf_context *ctx );
ARGUMENTS man The command buffer manager.
ctx The command buffer context.
DESCRIPTION Submits command buffers ... |
vmw_cmdbuf_cur_flush(9) | NAME vmw_cmdbuf_cur_flush - Flush the current command buffer for small kernel command submissions
SYNOPSIS int vmw_cmdbuf_cur_flush (struct vmw_cmdbuf_man *man , bool interruptible );
ARGUMENTS man The command buffer manager.
interruptible
Whether to sleep interruptible when sleepin... |
vmw_cmdbuf_cur_lock(9) | NAME vmw_cmdbuf_cur_lock - Helper to lock the cur_mutex.
SYNOPSIS int vmw_cmdbuf_cur_lock (struct vmw_cmdbuf_man *man , bool interruptible );
ARGUMENTS man The range manager.
interruptible
Whether to wait interruptible when locking.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/v... |
vmw_cmdbuf_cur_unlock(9) | NAME vmw_cmdbuf_cur_unlock - Helper to unlock the cur_mutex.
SYNOPSIS void vmw_cmdbuf_cur_unlock (struct vmw_cmdbuf_man *man );
ARGUMENTS man The range manager.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c struct vmw_cmdbuf_context(9), struct vmw_cmdbuf_man(9), struct vmw_cmdbuf_head... |
vmw_cmdbuf_header_free(9) | NAME vmw_cmdbuf_header_free - Free a struct vmw_cmdbuf_header and its associated structures.
SYNOPSIS void vmw_cmdbuf_header_free (struct vmw_cmdbuf_header *header );
ARGUMENTS header Pointer to the header to free.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c struct vmw_cmdbuf_context(9), ... |
vmw_cmdbuf_header_inline_free(9) | NAME vmw_cmdbuf_header_inline_free - Free a struct vmw_cmdbuf_header that has been used for the device context with inline command buffers. Need not be called locked.
SYNOPSIS void vmw_cmdbuf_header_inline_free (struct vmw_cmdbuf_header *header );
ARGUMENTS header Pointer to the header to free.
SEE ALSO Kernel ... |
vmw_cmdbuf_header_submit(9) | NAME vmw_cmdbuf_header_submit - Submit a command buffer to hardware.
SYNOPSIS int vmw_cmdbuf_header_submit (struct vmw_cmdbuf_header *header );
ARGUMENTS header The header of the buffer to submit.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c struct vmw_cmdbuf_context(9), struct vmw_cmdbuf... |
vmw_cmdbuf_idle(9) | NAME vmw_cmdbuf_idle - Wait for command buffer manager idle.
SYNOPSIS int vmw_cmdbuf_idle (struct vmw_cmdbuf_man *man , bool interruptible , unsigned long timeout );
ARGUMENTS man The command buffer manager.
interruptible
Sleep interruptible while waiting.
timeout Time o... |
vmw_cmdbuf_irqthread(9) | NAME vmw_cmdbuf_irqthread - The main part of the command buffer interrupt handler implemented as a threaded irq task.
SYNOPSIS void vmw_cmdbuf_irqthread (struct vmw_cmdbuf_man *man );
ARGUMENTS man Pointer to the command buffer manager.
DESCRIPTION The bottom half of the interrupt handler simply calls into t... |
vmw_cmdbuf_man_create(9) | NAME vmw_cmdbuf_man_create - Create a command buffer manager and enable it for inline command buffer submissions only.
SYNOPSIS struct vmw_cmdbuf_man * vmw_cmdbuf_man_create (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to device private structure.
DESCRIPTION Returns a pointer to a cummand buffer m... |
vmw_cmdbuf_man_destroy(9) | NAME vmw_cmdbuf_man_destroy - Take down a command buffer manager.
SYNOPSIS void vmw_cmdbuf_man_destroy (struct vmw_cmdbuf_man *man );
ARGUMENTS man Pointer to a command buffer manager.
DESCRIPTION This function idles and then destroys a command buffer manager.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx... |
vmw_cmdbuf_man_idle(9) | NAME vmw_cmdbuf_man_idle - Check whether the command buffer manager is idle.
SYNOPSIS bool vmw_cmdbuf_man_idle (struct vmw_cmdbuf_man *man , bool check_preempted );
ARGUMENTS man The command buffer manager.
check_preempted
Check also the preempted queue for pending command buffers.
... |
vmw_cmdbuf_man_process(9) | NAME vmw_cmdbuf_man_process - Process all command buffer contexts and switch on and off irqs as appropriate.
SYNOPSIS void vmw_cmdbuf_man_process (struct vmw_cmdbuf_man *man );
ARGUMENTS man The command buffer manager.
DESCRIPTION Calls vmw_cmdbuf_ctx_process on all contexts. If any context has command buffe... |
vmw_cmdbuf_preempt(9) | NAME vmw_cmdbuf_preempt - Send a preempt command through the device context.
SYNOPSIS int vmw_cmdbuf_preempt (struct vmw_cmdbuf_man *man , u32 context );
ARGUMENTS man The command buffer manager.
context Device context to pass command through.
DESCRIPTION Synchronously sends a preempt command.
S... |
vmw_cmdbuf_remove_pool(9) | NAME vmw_cmdbuf_remove_pool - Take down the main buffer space pool.
SYNOPSIS void vmw_cmdbuf_remove_pool (struct vmw_cmdbuf_man *man );
ARGUMENTS man Pointer to a command buffer manager.
DESCRIPTION This function removes the main buffer space pool, and should be called before MOB memory management is remov... |
vmw_cmdbuf_res_add(9) | NAME vmw_cmdbuf_res_add - Stage a command buffer managed resource for addition.
SYNOPSIS int vmw_cmdbuf_res_add (struct vmw_cmdbuf_res_manager *man , enum vmw_cmdbuf_res_type res_type , u32 user_key , struct vmw_resource *res , struct list_head *list );
ARGUMENTS man Pointer to the command buffer resource man... |
vmw_cmdbuf_res_commit(9) | NAME vmw_cmdbuf_res_commit - Commit a list of command buffer resource actions
SYNOPSIS void vmw_cmdbuf_res_commit (struct list_head *list );
ARGUMENTS list Caller's list of command buffer resource actions.
DESCRIPTION This function commits a list of command buffer resource additions or removals. It is typica... |
vmw_cmdbuf_res_free(9) | NAME vmw_cmdbuf_res_free - Free a command buffer resource.
SYNOPSIS void vmw_cmdbuf_res_free (struct vmw_cmdbuf_res_manager *man , struct vmw_cmdbuf_res *entry );
ARGUMENTS man Pointer to the command buffer resource manager
entry Pointer to a struct vmw_cmdbuf_res.
DESCRIPTION Frees a struct vm... |
vmw_cmdbuf_res_lookup(9) | NAME vmw_cmdbuf_res_lookup - Look up a command buffer resource
SYNOPSIS struct vmw_resource * vmw_cmdbuf_res_lookup (struct vmw_cmdbuf_res_manager *man , enum vmw_cmdbuf_res_type res_type , u32 user_key );
ARGUMENTS man Pointer to the command buffer resource manager
res_type The resource type, that... |
vmw_cmdbuf_res_man_create(9) | NAME vmw_cmdbuf_res_man_create - Allocate a command buffer managed resource manager.
SYNOPSIS struct vmw_cmdbuf_res_manager * vmw_cmdbuf_res_man_create (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to a struct vmw_private
DESCRIPTION Allocates and initializes a command buffer managed resource manage... |
vmw_cmdbuf_res_man_destroy(9) | NAME vmw_cmdbuf_res_man_destroy - Destroy a command buffer managed resource manager.
SYNOPSIS void vmw_cmdbuf_res_man_destroy (struct vmw_cmdbuf_res_manager *man );
ARGUMENTS man Pointer to the manager to destroy.
DESCRIPTION This function destroys a command buffer managed resource manager and unreferences ... |
vmw_cmdbuf_res_remove(9) | NAME vmw_cmdbuf_res_remove - Stage a command buffer managed resource for removal.
SYNOPSIS int vmw_cmdbuf_res_remove (struct vmw_cmdbuf_res_manager *man , enum vmw_cmdbuf_res_type res_type , u32 user_key , struct list_head *list , struct vmw_resource **res_p );
ARGUMENTS man Pointer to the command buffer reso... |
vmw_cmdbuf_res_revert(9) | NAME vmw_cmdbuf_res_revert - Revert a list of command buffer resource actions
SYNOPSIS void vmw_cmdbuf_res_revert (struct list_head *list );
ARGUMENTS list Caller's list of command buffer resource action
DESCRIPTION This function reverts a list of command buffer resource additions or removals. It is typical... |
vmw_cmdbuf_reserve(9) | NAME vmw_cmdbuf_reserve - Reserve space for commands in a command buffer.
SYNOPSIS void * vmw_cmdbuf_reserve (struct vmw_cmdbuf_man *man , size_t size , int ctx_id , bool interruptible , struct vmw_cmdbuf_header *header );
ARGUMENTS man The command buffer manager.
size The requested size of the... |
vmw_cmdbuf_reserve_cur(9) | NAME vmw_cmdbuf_reserve_cur - Reserve space for commands in the current command buffer.
SYNOPSIS void * vmw_cmdbuf_reserve_cur (struct vmw_cmdbuf_man *man , size_t size , int ctx_id , bool interruptible );
ARGUMENTS man The command buffer manager.
size The requested size of the commands.
... |
vmw_cmdbuf_send_device_command(9) | NAME vmw_cmdbuf_send_device_command - Send a command through the device context.
SYNOPSIS int vmw_cmdbuf_send_device_command (struct vmw_cmdbuf_man *man , const void *command , size_t size );
ARGUMENTS man The command buffer manager.
command Pointer to the command to send.
size Size... |
vmw_cmdbuf_set_pool_size(9) | NAME vmw_cmdbuf_set_pool_size - Set command buffer manager sizes
SYNOPSIS int vmw_cmdbuf_set_pool_size (struct vmw_cmdbuf_man *man , size_t size );
ARGUMENTS man The command buffer manager.
size The size of the main space pool.
DESCRIPTION Set the size and allocate the main command buffer spac... |
vmw_cmdbuf_space_inline(9) | NAME vmw_cmdbuf_space_inline - Set up a command buffer header with inline command buffer space.
SYNOPSIS int vmw_cmdbuf_space_inline (struct vmw_cmdbuf_man *man , struct vmw_cmdbuf_header *header , int size );
ARGUMENTS man The command buffer manager.
header Pointer to the header to set up.
... |
vmw_cmdbuf_space_pool(9) | NAME vmw_cmdbuf_space_pool - Set up a command buffer header with command buffer space from the main pool.
SYNOPSIS int vmw_cmdbuf_space_pool (struct vmw_cmdbuf_man *man , struct vmw_cmdbuf_header *header , size_t size , bool interruptible );
ARGUMENTS man The command buffer manager.
header Pointe... |
vmw_cmdbuf_startstop(9) | NAME vmw_cmdbuf_startstop - Send a start / stop command through the device context.
SYNOPSIS int vmw_cmdbuf_startstop (struct vmw_cmdbuf_man *man , u32 context , bool enable );
ARGUMENTS man The command buffer manager.
context Device context to start/stop.
enable Whether to enable or ... |
vmw_cmdbuf_try_alloc(9) | NAME vmw_cmdbuf_try_alloc - Try to allocate buffer space from the main pool.
SYNOPSIS bool vmw_cmdbuf_try_alloc (struct vmw_cmdbuf_man *man , struct vmw_cmdbuf_alloc_info *info );
ARGUMENTS man The command buffer manager.
info Allocation info. Will hold the size on entry and allocated mm node o... |
vmw_cmdbuf_work_func(9) | NAME vmw_cmdbuf_work_func - The deferred work function that handles command buffer errors.
SYNOPSIS void vmw_cmdbuf_work_func (struct work_struct *work );
ARGUMENTS work The work func closure argument.
DESCRIPTION Restarting the command buffer context after an error requires process context, so it is deferred... |
vmw_collect_dirty_vbs(9) | NAME vmw_collect_dirty_vbs - Build SVGA3dVertexBuffer data for a SVGA3dCmdDXSetVertexBuffers command
SYNOPSIS void vmw_collect_dirty_vbs (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo *bi , unsigned long *dirty , u32 max_num );
ARGUMENTS cbs Pointer to the context's struct vmw_ctx_binding_... |
vmw_collect_dirty_view_ids(9) | NAME vmw_collect_dirty_view_ids - Build view id data for a view binding command
SYNOPSIS void vmw_collect_dirty_view_ids (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo *bi , unsigned long *dirty , u32 max_num );
ARGUMENTS cbs Pointer to the context's struct vmw_ctx_binding_state
bi... |
vmw_collect_so_targets(9) | NAME vmw_collect_so_targets - Build SVGA3dSoTarget data for a binding command without checking which bindings actually need to be emitted
SYNOPSIS void vmw_collect_so_targets (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo_so_target *biso , u32 max_num );
ARGUMENTS cbs Pointer to the contex... |
vmw_collect_view_ids(9) | NAME vmw_collect_view_ids - Build view id data for a view binding command without checking which bindings actually need to be emitted
SYNOPSIS void vmw_collect_view_ids (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo_view *biv , u32 max_num );
ARGUMENTS cbs Pointer to the context's struct v... |
vmw_compat_shader_add(9) | NAME vmw_compat_shader_add - Create a compat shader and stage it for addition as a command buffer managed resource.
SYNOPSIS int vmw_compat_shader_add (struct vmw_private *dev_priv , struct vmw_cmdbuf_res_manager *man , u32 user_key , const void *bytecode , SVGA3dShaderType shader_type , size_t size , struct list_head... |
vmw_connector_get_modes(9) | NAME vmw_connector_get_modes - implements drm_connector_helper_funcs.get_modes callback
SYNOPSIS int vmw_connector_get_modes (struct drm_connector *connector );
ARGUMENTS connector the drm connector, part of a DU container
DESCRIPTION Returns the number of added modes.
SEE ALSO Kernel file ./drivers/gpu/drm/vmw... |
vmw_connector_mode_valid(9) | NAME vmw_connector_mode_valid - implements drm_connector_helper_funcs.mode_valid callback
SYNOPSIS enum drm_mode_status vmw_connector_mode_valid (struct drm_connector *connector , const struct drm_display_mode *mode );
ARGUMENTS connector the drm connector, part of a DU container
mode drm mode to che... |
vmw_context_bind_dx_query(9) | NAME vmw_context_bind_dx_query - Sets query MOB for the context. If @mob is NULL, then this function will remove the association between the MOB and the context. This function assumes the binding_mutex is held.
SYNOPSIS int vmw_context_bind_dx_query (struct vmw_resource *ctx_res , struct vmw_bo *mob );
ARGUMENTS ctx_... |
vmw_context_binding_list(9) | NAME vmw_context_binding_list - Return a list of context bindings
SYNOPSIS struct list_head * vmw_context_binding_list (struct vmw_resource *ctx );
ARGUMENTS ctx The context resource
DESCRIPTION Returns the current list of bindings of the given context. Note that this list becomes stale as soon as the dev_pr... |
vmw_context_binding_state(9) | NAME vmw_context_binding_state - Return a pointer to a context binding state structure
SYNOPSIS struct vmw_ctx_binding_state * vmw_context_binding_state (struct vmw_resource *ctx );
ARGUMENTS ctx The context resource
DESCRIPTION Returns the current state of bindings of the given context. Note that this state... |
vmw_context_get_dx_query_mob(9) | NAME vmw_context_get_dx_query_mob - Returns non-counted reference to DX query mob
SYNOPSIS struct vmw_bo * vmw_context_get_dx_query_mob (struct vmw_resource *ctx_res );
ARGUMENTS ctx_res The context resource
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_dx_context_scrub_cotables(9), vmw_cont... |
vmw_cotable(9) | NAME vmw_cotable - Convert a struct vmw_resource pointer to a struct vmw_cotable pointer
SYNOPSIS struct vmw_cotable * vmw_cotable (struct vmw_resource *res );
ARGUMENTS res Pointer to the resource.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c struct vmw_cotable(9), struct vmw_cotable_in... |
vmw_cotable_add_resource(9) | NAME vmw_cotable_add_resource - add a view to the cotable's list of active views.
SYNOPSIS void vmw_cotable_add_resource (struct vmw_resource *res , struct list_head *head );
ARGUMENTS res pointer struct vmw_resource representing the cotable.
head pointer to the struct list_head member of the r... |
vmw_cotable_alloc(9) | NAME vmw_cotable_alloc - Create a cotable resource
SYNOPSIS struct vmw_resource * vmw_cotable_alloc (struct vmw_private *dev_priv , struct vmw_resource *ctx , u32 type );
ARGUMENTS dev_priv Pointer to a device private struct.
ctx Pointer to the context resource. The cotable resource will not add a... |
vmw_cotable_bind(9) | NAME vmw_cotable_bind - Undo a cotable unscrub operation
SYNOPSIS int vmw_cotable_bind (struct vmw_resource *res , struct ttm_validate_buffer *val_buf );
ARGUMENTS res Pointer to the cotable resource
val_buf Pointer to a struct ttm_validate_buffer prepared by the caller for convenience / fencing.
... |
vmw_cotable_create(9) | NAME vmw_cotable_create - Cotable resource create callback
SYNOPSIS int vmw_cotable_create (struct vmw_resource *res );
ARGUMENTS res Pointer to a cotable resource.
DESCRIPTION There is no separate create command for cotables, so this callback, which is called before bind in the validation sequence is inste... |
vmw_cotable_destroy(9) | NAME vmw_cotable_destroy - Cotable resource destroy callback
SYNOPSIS int vmw_cotable_destroy (struct vmw_resource *res );
ARGUMENTS res Pointer to the cotable resource.
DESCRIPTION There is no device cotable destroy command, so this function only makes sure that the resource id is set to invalid.
SEE ALSO ... |
vmw_cotable_free(9) | NAME vmw_cotable_free - Cotable resource destructor
SYNOPSIS void vmw_cotable_free (struct vmw_resource *res );
ARGUMENTS res Pointer to a cotable resource.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c struct vmw_cotable(9), struct vmw_cotable_info(9), vmw_cotable(9), vmw_cotable_de... |
vmw_cotable_notify(9) | NAME vmw_cotable_notify - Notify the cotable about an item creation
SYNOPSIS int vmw_cotable_notify (struct vmw_resource *res , int id );
ARGUMENTS res Pointer to a cotable resource.
id Item id.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c struct vmw_cotable(9), struct... |
vmw_cotable_readback(9) | NAME vmw_cotable_readback - Read back a cotable without unbinding.
SYNOPSIS int vmw_cotable_readback (struct vmw_resource *res );
ARGUMENTS res The cotable resource.
DESCRIPTION Reads back a cotable to its backing mob without scrubbing the MOB from the cotable. The MOB is fenced for subsequent CPU access.
S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.