id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
vmw_kms_sou_readback(9) | NAME vmw_kms_sou_readback - Perform a readback from the screen object system to a buffer-object backed framebuffer.
SYNOPSIS int vmw_kms_sou_readback (struct vmw_private *dev_priv , struct drm_file *file_priv , struct vmw_framebuffer *vfb , struct drm_vmw_fence_rep __user *user_fence_rep , struct drm_vmw_rect *vc... |
vmw_kms_srf_ok(9) | NAME vmw_kms_srf_ok - check if a surface can be created
SYNOPSIS bool vmw_kms_srf_ok (struct vmw_private *dev_priv , uint32_t width , uint32_t height );
ARGUMENTS dev_priv Pointer to device private struct.
width requested width
height requested height
DESCRIPTION Surfaces need to be les... |
vmw_kms_stdu_init_display(9) | NAME vmw_kms_stdu_init_display - Initializes a Screen Target based display
SYNOPSIS int vmw_kms_stdu_init_display (struct vmw_private *dev_priv );
ARGUMENTS dev_priv VMW DRM device
DESCRIPTION This function initialize a Screen Target based display device. It checks the capability bits to make sure the underly... |
vmw_kms_stdu_readback(9) | NAME vmw_kms_stdu_readback - Perform a readback from a buffer-object backed framebuffer and the screen target system.
SYNOPSIS int vmw_kms_stdu_readback (struct vmw_private *dev_priv , struct drm_file *file_priv , struct vmw_framebuffer *vfb , struct drm_vmw_fence_rep __user *user_fence_rep , struct drm_clip_rect... |
vmw_kms_stdu_surface_clip(9) | NAME vmw_kms_stdu_surface_clip - Callback to encode a surface copy command cliprect
SYNOPSIS void vmw_kms_stdu_surface_clip (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION Encodes a surface copy command cliprect and updates the bounding box for the copy.
SEE ALSO Kernel fil... |
vmw_kms_stdu_surface_dirty(9) | NAME vmw_kms_stdu_surface_dirty - Dirty part of a surface backed framebuffer
SYNOPSIS int vmw_kms_stdu_surface_dirty (struct vmw_private *dev_priv , struct vmw_framebuffer *framebuffer , struct drm_clip_rect *clips , struct drm_vmw_rect *vclips , struct vmw_resource *srf , s32 dest_x , s32 dest_y , un‐ signed num_... |
vmw_kms_stdu_surface_fifo_commit(9) | NAME vmw_kms_stdu_surface_fifo_commit - Callback to fill in and submit a surface copy command.
SYNOPSIS void vmw_kms_stdu_surface_fifo_commit (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION Fills in the missing fields in a surface copy command, and encodes a screen target upd... |
vmw_kms_suspend(9) | NAME vmw_kms_suspend - Save modesetting state and turn modesetting off.
SYNOPSIS int vmw_kms_suspend (struct drm_device *dev );
ARGUMENTS dev Pointer to the drm device
RETURN 0 on success. Negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_du_plane_unpin_surf(9... |
vmw_kms_update_layout_ioctl(9) | NAME vmw_kms_update_layout_ioctl - Handler for DRM_VMW_UPDATE_LAYOUT ioctl
SYNOPSIS int vmw_kms_update_layout_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the io... |
vmw_ldu_crtc_mode_set_nofb(9) | NAME vmw_ldu_crtc_mode_set_nofb - Enable svga
SYNOPSIS void vmw_ldu_crtc_mode_set_nofb (struct drm_crtc *crtc );
ARGUMENTS crtc CRTC associated with the new screen
DESCRIPTION For LDU, just enable the svga
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
April 2026 ... |
vmw_legacy_srf_bind(9) | NAME vmw_legacy_srf_bind - Perform a legacy surface bind as part of the surface validation process.
SYNOPSIS int vmw_legacy_srf_bind (struct vmw_resource *res , struct ttm_validate_buffer *val_buf );
ARGUMENTS res Pointer to a struct vmw_res embedded in a struct vmw_surface.
val_buf Pointer to a s... |
vmw_legacy_srf_create(9) | NAME vmw_legacy_srf_create - Create a device surface as part of the resource validation process.
SYNOPSIS int vmw_legacy_srf_create (struct vmw_resource *res );
ARGUMENTS res Pointer to a struct vmw_surface.
DESCRIPTION If the surface doesn't have a hw id. Returns -EBUSY if there wasn't sufficient devic... |
vmw_legacy_srf_destroy(9) | NAME vmw_legacy_srf_destroy - Destroy a device surface as part of a resource eviction process.
SYNOPSIS int vmw_legacy_srf_destroy (struct vmw_resource *res );
ARGUMENTS res Pointer to a struct vmw_res embedded in a struct vmw_surface.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct... |
vmw_legacy_srf_dma(9) | NAME vmw_legacy_srf_dma - Copy backup data to or from a legacy surface.
SYNOPSIS int vmw_legacy_srf_dma (struct vmw_resource *res , struct ttm_validate_buffer *val_buf , bool bind );
ARGUMENTS res Pointer to a struct vmw_res embedded in a struct vmw_surface.
val_buf Pointer to a struct ttm_validat... |
vmw_legacy_srf_unbind(9) | NAME vmw_legacy_srf_unbind - Perform a legacy surface unbind as part of the surface eviction process.
SYNOPSIS int vmw_legacy_srf_unbind (struct vmw_resource *res , bool readback , struct ttm_validate_buffer *val_buf );
ARGUMENTS res Pointer to a struct vmw_res embedded in a struct vmw_surface.
readba... |
vmw_memcpy(9) | NAME vmw_memcpy - A wrapper around kernel memcpy with allowing to plug it into a struct vmw_diff_cpy.
SYNOPSIS void vmw_memcpy (struct vmw_diff_cpy *diff , u8 *dest , const u8 *src , size_t n );
ARGUMENTS diff The struct vmw_diff_cpy closure argument (unused).
dest The copy destination.
... |
vmw_mksstat_add_ioctl(9) | NAME vmw_mksstat_add_ioctl - Creates a single userspace-originating mksGuestStat instance descriptor and registers that with the hypervisor.
SYNOPSIS int vmw_mksstat_add_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Identifies the drm device.
data Poin... |
vmw_mksstat_cleanup_descriptor(9) | NAME vmw_mksstat_cleanup_descriptor - Frees a single userspace-originating mksGuestStat instance-descriptor page and unpins all related user pages.
SYNOPSIS void vmw_mksstat_cleanup_descriptor (struct page *page );
ARGUMENTS page Page of the instance descriptor.
DESCRIPTION Unpin all user pages realated to th... |
vmw_mksstat_get_kern_pinfo(9) | NAME vmw_mksstat_get_kern_pinfo - Computes the address of the MKSGuestStatInfoEntry array from the address of the base page.
SYNOPSIS void * vmw_mksstat_get_kern_pinfo (void *page_addr );
ARGUMENTS page_addr Pointer to the base page.
RETURN Pointer to the MKSGuestStatInfoEntry array.
SEE ALSO Kernel file ./driver... |
vmw_mksstat_get_kern_pstat(9) | NAME vmw_mksstat_get_kern_pstat - Computes the address of the MKSGuestStatCounterTime array from the address of the base page.
SYNOPSIS void * vmw_mksstat_get_kern_pstat (void *page_addr );
ARGUMENTS page_addr Pointer to the base page.
RETURN Pointer to the MKSGuestStatCounterTime array.
SEE ALSO Kernel file ./dr... |
vmw_mksstat_get_kern_pstrs(9) | NAME vmw_mksstat_get_kern_pstrs - Computes the address of the mksGuestStat strings sequence from the address of the base page.
SYNOPSIS void * vmw_mksstat_get_kern_pstrs (void *page_addr );
ARGUMENTS page_addr Pointer to the base page.
RETURN Pointer to the mksGuestStat strings sequence.
SEE ALSO Kernel file ./dr... |
vmw_mksstat_get_kern_slot(9) | NAME vmw_mksstat_get_kern_slot - Acquires a slot for a single kernel-internal mksGuestStat instance descriptor.
SYNOPSIS int vmw_mksstat_get_kern_slot (pid_t pid , struct vmw_private *dev_priv );
ARGUMENTS pid Process for which a slot is sought.
dev_priv Identifies the drm private device.
DESCRIPT... |
vmw_mksstat_remove_all(9) | NAME vmw_mksstat_remove_all - Resets all mksGuestStat instance descriptors from the hypervisor.
SYNOPSIS int vmw_mksstat_remove_all (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Identifies the drm private device.
DESCRIPTION Discard all hypervisor PFN mappings, containing active mksGuestState instance descr... |
vmw_mksstat_remove_ioctl(9) | NAME vmw_mksstat_remove_ioctl - Removes a single userspace-originating mksGuestStat instance descriptor from the hypervisor.
SYNOPSIS int vmw_mksstat_remove_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Identifies the drm device.
data Pointer to the io... |
vmw_mksstat_reset_ioctl(9) | NAME vmw_mksstat_reset_ioctl - Resets all mksGuestStat instance descriptors from the hypervisor.
SYNOPSIS int vmw_mksstat_reset_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Identifies the drm device.
data Pointer to the ioctl argument.
file_pr... |
vmw_mob_assign_ppn(9) | NAME vmw_mob_assign_ppn - Assign a value to a page table entry
SYNOPSIS void vmw_mob_assign_ppn (u32 **addr , dma_addr_t val );
ARGUMENTS addr Pointer to pointer to page table entry.
val The page table entry
DESCRIPTION Assigns a value to a page table entry pointed to by *addr and increments *... |
vmw_move_notify(9) | NAME vmw_move_notify - TTM move_notify_callback
SYNOPSIS void vmw_move_notify (struct ttm_buffer_object *bo , struct ttm_resource *old_mem , struct ttm_resource *new_mem );
ARGUMENTS bo The TTM buffer object about to move.
old_mem The old memory where we move from
new_mem The struct t... |
vmw_msg_ioctl(9) | NAME vmw_msg_ioctl - Sends and receveives a message to/from host from/to user-space
SYNOPSIS int vmw_msg_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Identifies the drm device.
data Pointer to the ioctl argument.
file_priv Identifies the cal... |
vmw_open_channel(9) | NAME vmw_open_channel -
SYNOPSIS int vmw_open_channel (struct rpc_channel *channel , unsigned int protocol );
ARGUMENTS channel RPC channel
protocol
RETURN 0 on success
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_msg.c vmw_close_channel(9), vmw_port_hb_out(9), vmw_port_hb_in(9), vmw_send_... |
vmw_piter_dma_addr(9) | NAME vmw_piter_dma_addr - Return the DMA address of the current page.
SYNOPSIS dma_addr_t vmw_piter_dma_addr (struct vmw_piter *viter );
ARGUMENTS viter Pointer to the iterator
RETURN the DMA address of the page pointed to by viter.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct vmw_res... |
vmw_piter_next(9) | NAME vmw_piter_next - Advance the iterator one page.
SYNOPSIS bool vmw_piter_next (struct vmw_piter *viter );
ARGUMENTS viter Pointer to the iterator to advance.
RETURN false if past the list of pages, true otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct vmw_resource(9), stru... |
vmw_piter_page(9) | NAME vmw_piter_page - Return a pointer to the current page.
SYNOPSIS struct page * vmw_piter_page (struct vmw_piter *viter );
ARGUMENTS viter Pointer to the iterator
RETURN the DMA address of the page pointed to by viter.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct vmw_resource(9), ... |
vmw_piter_start(9) | NAME vmw_piter_start - Initialize a struct vmw_piter.
SYNOPSIS void vmw_piter_start (struct vmw_piter *viter , const struct vmw_sg_table *vsgt , unsigned long p_offset );
ARGUMENTS viter Pointer to the iterator to initialize
vsgt Pointer to a struct vmw_sg_table to initialize from
p_offse... |
vmw_port_hb_in(9) | NAME vmw_port_hb_in - Receive the message payload either through the high-bandwidth port if available, or through the backdoor otherwise.
SYNOPSIS unsigned long vmw_port_hb_in (struct rpc_channel *channel , char *reply , unsigned long reply_len , bool hb );
ARGUMENTS channel The rpc channel.
reply P... |
vmw_port_hb_out(9) | NAME vmw_port_hb_out - Send the message payload either through the high-bandwidth port if available, or through the backdoor otherwise.
SYNOPSIS unsigned long vmw_port_hb_out (struct rpc_channel *channel , const char *msg , bool hb );
ARGUMENTS channel The rpc channel.
msg NULL-terminated message.... |
vmw_ptr_diff(9) | NAME vmw_ptr_diff - Compute the offset from a to b in bytes
SYNOPSIS size_t vmw_ptr_diff (void *a , void *b );
ARGUMENTS a A starting pointer.
b A pointer offset in the same address space.
RETURN The offset in bytes between the two pointers.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx... |
vmw_query_bo_switch_commit(9) | NAME vmw_query_bo_switch_commit - Finalize switching pinned query buffer
SYNOPSIS void vmw_query_bo_switch_commit (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context );
ARGUMENTS dev_priv The device private structure.
sw_context The software context used for this command submission batch.
D... |
vmw_query_bo_switch_prepare(9) | NAME vmw_query_bo_switch_prepare - Prepare to switch pinned buffer for queries.
SYNOPSIS 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 ne... |
vmw_query_move_notify(9) | NAME vmw_query_move_notify - Read back cached query states
SYNOPSIS void vmw_query_move_notify (struct ttm_buffer_object *bo , struct ttm_resource *old_mem , struct ttm_resource *new_mem );
ARGUMENTS bo The TTM buffer object about to move.
old_mem The memory region bo is moving from.
new_... |
vmw_query_readback_all(9) | NAME vmw_query_readback_all - Read back cached query states
SYNOPSIS int vmw_query_readback_all (struct vmw_bo *dx_query_mob );
ARGUMENTS dx_query_mob Buffer containing the DX query MOB
DESCRIPTION Read back cached states from the device if they exist. This function assumes binding_mutex is held.
SEE ALSO Kernel ... |
vmw_rebind_all_dx_query(9) | NAME vmw_rebind_all_dx_query - Rebind DX query associated with the context
SYNOPSIS int vmw_rebind_all_dx_query (struct vmw_resource *ctx_res );
ARGUMENTS ctx_res context the query belongs to
DESCRIPTION This function assumes binding_mutex is held.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.... |
vmw_rebind_contexts(9) | NAME vmw_rebind_contexts - Rebind all resources previously bound to referenced contexts.
SYNOPSIS int vmw_rebind_contexts (struct vmw_sw_context *sw_context );
ARGUMENTS sw_context Pointer to the software context.
DESCRIPTION Rebind context binding points that have been scrubbed because of eviction.
SEE ALSO Kerne... |
vmw_recv_msg(9) | NAME vmw_recv_msg - Receives a message from the host
SYNOPSIS int vmw_recv_msg (struct rpc_channel *channel , void **msg , size_t *msg_len );
ARGUMENTS channel channel opened by vmw_open_channel
msg [OUT] message received from the host
msg_len message length
NOTE It is the caller's re... |
vmw_release_device_early(9) | NAME vmw_release_device_early - Early part of fifo takedown.
SYNOPSIS void vmw_release_device_early (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to device private struct.
DESCRIPTION This is the first part of command submission takedown, to be called before buffer management is taken down.
SEE ALS... |
vmw_release_device_late(9) | NAME vmw_release_device_late - Late part of fifo takedown.
SYNOPSIS void vmw_release_device_late (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to device private struct.
DESCRIPTION This is the last part of the command submission takedown, to be called when command submission is no longer needed. It ... |
vmw_request_device_late(9) | NAME vmw_request_device_late - Perform late device setup
SYNOPSIS int vmw_request_device_late (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to device private.
DESCRIPTION This function performs setup of otables and enables large command buffer submission. These tasks are split out to a separate func... |
vmw_res_to_dx_shader(9) | NAME vmw_res_to_dx_shader - typecast a struct vmw_resource to a struct vmw_dx_shader
SYNOPSIS struct vmw_dx_shader * vmw_res_to_dx_shader (struct vmw_resource *res );
ARGUMENTS res Pointer to the struct vmw_resource.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_dx_shader_commit_not... |
vmw_res_type(9) | NAME vmw_res_type - Return the resource type
SYNOPSIS enum vmw_res_type vmw_res_type (const struct vmw_resource *res );
ARGUMENTS res Pointer to the resource
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_mob_attach(9), vmw_resource_mob_detach(9), vmw_resource_release_id(9)... |
vmw_resource_alloc_id(9) | NAME vmw_resource_alloc_id - release a resource id to the id manager.
SYNOPSIS int vmw_resource_alloc_id (struct vmw_resource *res );
ARGUMENTS res Pointer to the resource.
DESCRIPTION Allocate the lowest free resource from the resource manager, and set res->id to that id. Returns 0 on success and -ENOMEM on... |
vmw_resource_backoff_reservation(9) | NAME vmw_resource_backoff_reservation - Unreserve and unreference a guest memory buffer .
SYNOPSIS void vmw_resource_backoff_reservation (struct ww_acquire_ctx *ticket , struct ttm_validate_buffer *val_buf );
ARGUMENTS ticket The ww acquire ctx used for reservation.
val_buf Guest memory buffer inform... |
vmw_resource_buf_alloc(9) | NAME vmw_resource_buf_alloc - Allocate a guest memory buffer for a resource.
SYNOPSIS int vmw_resource_buf_alloc (struct vmw_resource *res , bool interruptible );
ARGUMENTS res The resource for which to allocate a gbo buffer.
interruptible
Whether any sleeps during allocation should... |
vmw_resource_check_buffer(9) | NAME vmw_resource_check_buffer - Check whether a backup buffer is needed for a resource and in that case, allocate one, reserve and validate it.
SYNOPSIS int vmw_resource_check_buffer (struct ww_acquire_ctx *ticket , struct vmw_resource *res , bool interruptible , struct ttm_validate_buffer *val_buf );
ARGUMENTS tick... |
vmw_resource_context_res_add(9) | NAME vmw_resource_context_res_add - Put resources previously bound to a context on the validation list
SYNOPSIS int vmw_resource_context_res_add (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , struct vmw_resource *ctx );
ARGUMENTS dev_priv Pointer to a device private structure
sw_contex... |
vmw_resource_dirty_update(9) | NAME vmw_resource_dirty_update - Update a resource's dirty tracker with a sequential range of touched backing store memory.
SYNOPSIS void vmw_resource_dirty_update (struct vmw_resource *res , pgoff_t start , pgoff_t end );
ARGUMENTS res The resource.
start The first page touched.
end ... |
vmw_resource_do_evict(9) | NAME vmw_resource_do_evict - Evict a resource, and transfer its data to a backup buffer.
SYNOPSIS int vmw_resource_do_evict (struct ww_acquire_ctx *ticket , struct vmw_resource *res , bool interruptible );
ARGUMENTS ticket The ww acquire ticket to use, or NULL if trylocking.
res The resource to e... |
vmw_resource_do_validate(9) | NAME vmw_resource_do_validate - Make a resource up-to-date and visible to the device.
SYNOPSIS int vmw_resource_do_validate (struct vmw_resource *res , struct ttm_validate_buffer *val_buf , bool dirtying );
ARGUMENTS res The resource to make visible to the device.
val_buf Information about a buffe... |
vmw_resource_evict_all(9) | NAME vmw_resource_evict_all - Evict all evictable resources
SYNOPSIS void vmw_resource_evict_all (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to a device private struct
DESCRIPTION To avoid thrashing starvation or as part of the hibernation sequence, evict all evictable resources. In particular th... |
vmw_resource_evict_type(9) | NAME vmw_resource_evict_type - Evict all resources of a specific type
SYNOPSIS void vmw_resource_evict_type (struct vmw_private *dev_priv , enum vmw_res_type type );
ARGUMENTS dev_priv Pointer to a device private struct
type The resource type to evict
DESCRIPTION To avoid thrashing starvation or as... |
vmw_resource_init(9) | NAME vmw_resource_init - initialize a struct vmw_resource
SYNOPSIS int vmw_resource_init (struct vmw_private *dev_priv , struct vmw_resource *res , bool delay_id , void (*res_free) (struct vmw_resource *res) , const struct vmw_res_func *func );
ARGUMENTS dev_priv Pointer to a device private struct.
res ... |
vmw_resource_mob_attach(9) | NAME vmw_resource_mob_attach - Mark a resource as attached to its backing mob
SYNOPSIS void vmw_resource_mob_attach (struct vmw_resource *res );
ARGUMENTS res The resource
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_mob_detach(9), vmw_resource_release_id(9), vmw_resource... |
vmw_resource_mob_attached(9) | NAME vmw_resource_mob_attached - Whether a resource currently has a mob attached
SYNOPSIS bool vmw_resource_mob_attached (const struct vmw_resource *res );
ARGUMENTS res The resource
RETURN true if the resource has a mob attached, false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h... |
vmw_resource_mob_detach(9) | NAME vmw_resource_mob_detach - Mark a resource as detached from its backing mob
SYNOPSIS void vmw_resource_mob_detach (struct vmw_resource *res );
ARGUMENTS res The resource
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_mob_attach(9), vmw_resource_release_id(9), vmw_resource_al... |
vmw_resource_needs_backup(9) | NAME vmw_resource_needs_backup - Return whether a resource needs a backup buffer.
SYNOPSIS bool vmw_resource_needs_backup (const struct vmw_resource *res );
ARGUMENTS res The resource being queried.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_mob_attach(9), vmw_resource_m... |
vmw_resource_release_id(9) | NAME vmw_resource_release_id - release a resource id to the id manager.
SYNOPSIS void vmw_resource_release_id (struct vmw_resource *res );
ARGUMENTS res Pointer to the resource.
DESCRIPTION Release the resource id to the resource id manager and set it to -1
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwg... |
vmw_resource_relocation_add(9) | NAME vmw_resource_relocation_add - Add a relocation to the relocation list
SYNOPSIS int vmw_resource_relocation_add (struct vmw_sw_context *sw_context , const struct vmw_resource *res , unsigned long offset , enum vmw_resource_relocation_type rel_type );
ARGUMENTS sw_context Pointer to the software context.
... |
vmw_resource_relocations_apply(9) | NAME vmw_resource_relocations_apply - Apply all relocations on a list
SYNOPSIS void vmw_resource_relocations_apply (uint32_t *cb , struct list_head *list );
ARGUMENTS cb Pointer to the start of the command buffer bein patch. This need not be the same buffer as the one being parsed when the relocation list wa... |
vmw_resource_relocations_free(9) | NAME vmw_resource_relocations_free - Free all relocations on a list
SYNOPSIS void vmw_resource_relocations_free (struct list_head *list );
ARGUMENTS list Pointer to the head of the relocation list
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c struct vmw_relocation(9), enum vmw_resource_... |
vmw_resource_unbind_list(9) | NAME vmw_resource_unbind_list -
SYNOPSIS void vmw_resource_unbind_list (struct vmw_bo *vbo );
ARGUMENTS vbo Pointer to the current backing MOB.
DESCRIPTION Evicts the Guest Backed hardware resource if the backup buffer is being moved out of MOB memory. Note that this function will not race with the resou... |
vmw_resource_unpin(9) | NAME vmw_resource_unpin - Remove a pin reference from a resource
SYNOPSIS void vmw_resource_unpin (struct vmw_resource *res );
ARGUMENTS res The resource to remove a pin reference from
DESCRIPTION Having a pin reference means that the resource can never be evicted, and its id will never change as long as the... |
vmw_resource_unreserve(9) | NAME vmw_resource_unreserve - Unreserve a resource previously reserved for command submission.
SYNOPSIS void vmw_resource_unreserve (struct vmw_resource *res , bool dirty_set , bool dirty , bool switch_guest_memory , struct vmw_bo *new_guest_memory_bo , unsigned long new_guest_memory_offset );
ARGUMENTS res P... |
vmw_resource_validate(9) | NAME vmw_resource_validate - Make a resource up-to-date and visible to the device.
SYNOPSIS int vmw_resource_validate (struct vmw_resource *res , bool intr , bool dirtying );
ARGUMENTS res The resource to make visible to the device.
intr Perform waits interruptible if possible.
dirtying... |
vmw_resources_clean(9) | NAME vmw_resources_clean - Clean resources intersecting a mob range
SYNOPSIS int vmw_resources_clean (struct vmw_bo *vbo , pgoff_t start , pgoff_t end , pgoff_t *num_prefault );
ARGUMENTS vbo The mob buffer object
start The mob page offset starting the range
end The mob page offs... |
vmw_resources_reserve(9) | NAME vmw_resources_reserve - Reserve all resources on the sw_context's resource list.
SYNOPSIS int vmw_resources_reserve (struct vmw_sw_context *sw_context );
ARGUMENTS sw_context Pointer to the software context.
DESCRIPTION Note that since vmware's command submission currently is protected by the cmdbuf mutex, no ... |
vmw_send_define_cursor_cmd(9) | NAME vmw_send_define_cursor_cmd - queue a define cursor command
SYNOPSIS void vmw_send_define_cursor_cmd (struct vmw_private *dev_priv , u32 *image , u32 width , u32 height , u32 hotspotX , u32 hotspotY );
ARGUMENTS dev_priv the private driver struct
image buffer which holds the cursor image
... |
vmw_send_msg(9) | NAME vmw_send_msg - Sends a message to the host
SYNOPSIS int vmw_send_msg (struct rpc_channel *channel , const char *msg );
ARGUMENTS channel RPC channel
msg NULL terminated string
RETURN 0 on success
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_msg.c vmw_open_channel(9), vmw_close_c... |
vmw_shader_id_ok(9) | NAME vmw_shader_id_ok - Check whether a compat shader user key and shader type are within valid bounds.
SYNOPSIS bool vmw_shader_id_ok (u32 user_key , SVGA3dShaderType shader_type );
ARGUMENTS user_key User space id of the shader.
shader_type Shader type.
DESCRIPTION Returns true if valid false if not.
S... |
vmw_shader_key(9) | NAME vmw_shader_key - Compute a hash key suitable for a compat shader.
SYNOPSIS u32 vmw_shader_key (u32 user_key , SVGA3dShaderType shader_type );
ARGUMENTS user_key User space id of the shader.
shader_type Shader type.
DESCRIPTION Returns a hash key suitable for a command buffer managed resource manager ... |
vmw_shader_lookup(9) | NAME vmw_shader_lookup - Look up a compat shader
SYNOPSIS struct vmw_resource * vmw_shader_lookup (struct vmw_cmdbuf_res_manager *man , u32 user_key , SVGA3dShaderType shader_type );
ARGUMENTS man Pointer to the command buffer managed resource manager identifying the shader namespace.
user_key The ... |
vmw_shader_remove(9) | NAME vmw_shader_remove - Stage a compat shader for removal.
SYNOPSIS int vmw_shader_remove (struct vmw_cmdbuf_res_manager *man , u32 user_key , SVGA3dShaderType shader_type , struct list_head *list );
ARGUMENTS man Pointer to the compat shader manager identifying the shader namespace.
user_key The ... |
vmw_simple_resource_base_release(9) | NAME vmw_simple_resource_base_release - TTM object release callback
SYNOPSIS void vmw_simple_resource_base_release (struct ttm_base_object **p_base );
ARGUMENTS p_base The struct ttm_base_object member of the simple resource object.
DESCRIPTION Called when the last reference to the embedded struct ttm_base_obje... |
vmw_simple_resource_create_ioctl(9) | NAME vmw_simple_resource_create_ioctl - Helper to set up an ioctl function to create a struct vmw_simple_resource.
SYNOPSIS int vmw_simple_resource_create_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv , const struct vmw_simple_resource_func *func );
ARGUMENTS dev Pointer to a struct ... |
vmw_simple_resource_free(9) | NAME vmw_simple_resource_free - Free a simple resource object.
SYNOPSIS void vmw_simple_resource_free (struct vmw_resource *res );
ARGUMENTS res The struct vmw_resource member of the simple resource object.
DESCRIPTION Frees memory for the object.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_simpl... |
vmw_simple_resource_init(9) | NAME vmw_simple_resource_init - Initialize a simple resource object.
SYNOPSIS int vmw_simple_resource_init (struct vmw_private *dev_priv , struct vmw_simple_resource *simple , void *data , void (*res_free)(struct vmw_resource *res) );
ARGUMENTS dev_priv Pointer to a struct device private.
simple The s... |
vmw_simple_resource_lookup(9) | NAME vmw_simple_resource_lookup - Look up a simple resource from its user-space handle.
SYNOPSIS struct vmw_resource * vmw_simple_resource_lookup (struct ttm_object_file *tfile , uint32_t handle , const struct vmw_simple_resource_func *func );
ARGUMENTS tfile struct ttm_object_file identifying the caller.
... |
vmw_sou_bo_clip(9) | NAME vmw_sou_bo_clip - Callback to encode a readback cliprect.
SYNOPSIS void vmw_sou_bo_clip (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure
DESCRIPTION Encodes a BLIT_GMRFB_TO_SCREEN cliprect.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct vmw_kms_sou_surface_dirty... |
vmw_sou_bo_fifo_commit(9) | NAME vmw_sou_bo_fifo_commit - Callback to submit a set of readback clips.
SYNOPSIS void vmw_sou_bo_fifo_commit (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION Commits a previously built command buffer of readback clips.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_... |
vmw_sou_crtc_atomic_disable(9) | NAME vmw_sou_crtc_atomic_disable - Turns off CRTC
SYNOPSIS void vmw_sou_crtc_atomic_disable (struct drm_crtc *crtc , struct drm_atomic_state *state );
ARGUMENTS crtc CRTC to be turned off
state Unused
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct vmw_kms_sou_surface_... |
vmw_sou_crtc_helper_prepare(9) | NAME vmw_sou_crtc_helper_prepare - Noop
SYNOPSIS void vmw_sou_crtc_helper_prepare (struct drm_crtc *crtc );
ARGUMENTS crtc CRTC associated with the new screen
DESCRIPTION Prepares the CRTC for a mode set, but we don't need to do anything here.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c st... |
vmw_sou_crtc_mode_set_nofb(9) | NAME vmw_sou_crtc_mode_set_nofb - Create new screen
SYNOPSIS void vmw_sou_crtc_mode_set_nofb (struct drm_crtc *crtc );
ARGUMENTS crtc CRTC associated with the new screen
DESCRIPTION This function creates/destroys a screen. This function cannot fail, so if somehow we run into a failure, just do the best we ca... |
vmw_sou_plane_update_bo(9) | NAME vmw_sou_plane_update_bo - Update display unit for bo backed fb.
SYNOPSIS int vmw_sou_plane_update_bo (struct vmw_private *dev_priv , struct drm_plane *plane , struct drm_plane_state *old_state , struct vmw_framebuffer *vfb , struct vmw_fence_obj **out_fence );
ARGUMENTS dev_priv Device private.
plane ... |
vmw_sou_plane_update_surface(9) | NAME vmw_sou_plane_update_surface - Update display unit for surface backed fb.
SYNOPSIS int vmw_sou_plane_update_surface (struct vmw_private *dev_priv , struct drm_plane *plane , struct drm_plane_state *old_state , struct vmw_framebuffer *vfb , struct vmw_fence_obj **out_fence );
ARGUMENTS dev_priv Device private.... |
vmw_sou_primary_plane_cleanup_fb(9) | NAME vmw_sou_primary_plane_cleanup_fb - Frees sou backing buffer
SYNOPSIS void vmw_sou_primary_plane_cleanup_fb (struct drm_plane *plane , struct drm_plane_state *old_state );
ARGUMENTS plane display plane
old_state Contains the FB to clean up
DESCRIPTION Unpins the display surface Returns 0 on succe... |
vmw_sou_primary_plane_prepare_fb(9) | NAME vmw_sou_primary_plane_prepare_fb - allocate backing buffer
SYNOPSIS int vmw_sou_primary_plane_prepare_fb (struct drm_plane *plane , struct drm_plane_state *new_state );
ARGUMENTS plane display plane
new_state info on the new plane state, including the FB
DESCRIPTION The SOU backing buffer is our... |
vmw_sou_readback_clip(9) | NAME vmw_sou_readback_clip - Callback to encode a readback cliprect.
SYNOPSIS void vmw_sou_readback_clip (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure
DESCRIPTION Encodes a BLIT_SCREEN_TO_GMRFB cliprect.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct vmw_kms_sou_s... |
vmw_sou_readback_fifo_commit(9) | NAME vmw_sou_readback_fifo_commit - Callback to submit a set of readback clips.
SYNOPSIS void vmw_sou_readback_fifo_commit (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION Commits a previously built command buffer of readback clips.
SEE ALSO Kernel file ./drivers/gpu/drm/vm... |
vmw_sou_surface_clip(9) | NAME vmw_sou_surface_clip - Callback to encode a blit surface to screen cliprect.
SYNOPSIS void vmw_sou_surface_clip (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure
DESCRIPTION Encodes a SVGASignedRect cliprect and updates the bounding box of the BLIT_SURFACE_TO_SCREEN command.
SEE ALSO ... |
vmw_sou_surface_fifo_commit(9) | NAME vmw_sou_surface_fifo_commit - Callback to fill in and submit a blit surface to screen command.
SYNOPSIS void vmw_sou_surface_fifo_commit (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION Fills in the missing fields in the command, and translates the cliprects to match the ... |
vmw_stdu_bind_st(9) | NAME vmw_stdu_bind_st - Binds a surface to a Screen Target
SYNOPSIS int vmw_stdu_bind_st (struct vmw_private *dev_priv , struct vmw_screen_target_display_unit *stdu , const struct vmw_resource *res );
ARGUMENTS dev_priv VMW DRM device
stdu display unit affected
res Buffer to bind to ... |
vmw_stdu_bo_cpu_clip(9) | NAME vmw_stdu_bo_cpu_clip - Callback to encode a CPU blit
SYNOPSIS void vmw_stdu_bo_cpu_clip (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION This function calculates the bounding box for all the incoming clips.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c s... |
vmw_stdu_bo_cpu_commit(9) | NAME vmw_stdu_bo_cpu_commit - Callback to do a CPU blit from buffer object
SYNOPSIS void vmw_stdu_bo_cpu_commit (struct vmw_kms_dirty *dirty );
ARGUMENTS dirty The closure structure.
DESCRIPTION For the special case when we cannot create a proxy surface in a 2D VM, we have to do a CPU blit ourselves.
SEE ALSO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.