id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
vmw_stdu_connector_destroy(9) | NAME vmw_stdu_connector_destroy - cleans up the STDU
SYNOPSIS void vmw_stdu_connector_destroy (struct drm_connector *connector );
ARGUMENTS connector used to get the containing STDU
DESCRIPTION vmwgfx cleans up crtc/encoder/connector all at the same time so technically this can be a no-op. Nevertheless, it doe... |
vmw_stdu_crtc_destroy(9) | NAME vmw_stdu_crtc_destroy - cleans up the STDU
SYNOPSIS void vmw_stdu_crtc_destroy (struct drm_crtc *crtc );
ARGUMENTS crtc used to get a reference to the containing STDU
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct vmw_stdu_dirty(9), struct vmw_screen_target_display_unit(9), vmw... |
vmw_stdu_crtc_mode_set_nofb(9) | NAME vmw_stdu_crtc_mode_set_nofb - Updates screen target size
SYNOPSIS void vmw_stdu_crtc_mode_set_nofb (struct drm_crtc *crtc );
ARGUMENTS crtc CRTC associated with the screen target
DESCRIPTION This function defines/destroys a screen target
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c str... |
vmw_stdu_define_st(9) | NAME vmw_stdu_define_st - Defines a Screen Target
SYNOPSIS int vmw_stdu_define_st (struct vmw_private *dev_priv , struct vmw_screen_target_display_unit *stdu , struct drm_display_mode *mode , int crtc_x , int crtc_y );
ARGUMENTS dev_priv VMW DRM device
stdu display unit to create a Screen Target for... |
vmw_stdu_destroy(9) | NAME vmw_stdu_destroy - Cleans up a vmw_screen_target_display_unit
SYNOPSIS void vmw_stdu_destroy (struct vmw_screen_target_display_unit *stdu );
ARGUMENTS stdu Screen Target Display Unit to be destroyed
DESCRIPTION Clean up after vmw_stdu_init
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c s... |
vmw_stdu_destroy_st(9) | NAME vmw_stdu_destroy_st - Destroy a Screen Target
SYNOPSIS int vmw_stdu_destroy_st (struct vmw_private *dev_priv , struct vmw_screen_target_display_unit *stdu );
ARGUMENTS dev_priv VMW DRM device
stdu display unit to destroy
RETURN 0 on success, negative error code on failure. -ERESTARTSYS if inte... |
vmw_stdu_encoder_destroy(9) | NAME vmw_stdu_encoder_destroy - cleans up the STDU
SYNOPSIS void vmw_stdu_encoder_destroy (struct drm_encoder *encoder );
ARGUMENTS encoder used the get the containing STDU
DESCRIPTION vmwgfx cleans up crtc/encoder/connector all at the same time so technically this can be a no-op. Nevertheless, it doesn't hu... |
vmw_stdu_init(9) | NAME vmw_stdu_init - Sets up a Screen Target Display Unit
SYNOPSIS int vmw_stdu_init (struct vmw_private *dev_priv , unsigned unit );
ARGUMENTS dev_priv VMW DRM device
unit unit number range from 0 to VMWGFX_NUM_DISPLAY_UNITS
DESCRIPTION This function is called once per CRTC, and allocates one Sc... |
vmw_stdu_plane_update_bo(9) | NAME vmw_stdu_plane_update_bo - Update display unit for bo backed fb.
SYNOPSIS int vmw_stdu_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.
plan... |
vmw_stdu_plane_update_surface(9) | NAME vmw_stdu_plane_update_surface - Update display unit for surface backed fb
SYNOPSIS int vmw_stdu_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_stdu_populate_update(9) | NAME vmw_stdu_populate_update - populate an UPDATE_GB_SCREENTARGET command with a bounding box.
SYNOPSIS void vmw_stdu_populate_update (void *cmd , int unit , s32 left , s32 right , s32 top , s32 bottom );
ARGUMENTS cmd Pointer to command stream.
unit Screen target unit.
left Lef... |
vmw_stdu_primary_plane_atomic_update(9) | NAME vmw_stdu_primary_plane_atomic_update - formally switches STDU to new plane
SYNOPSIS void vmw_stdu_primary_plane_atomic_update (struct drm_plane *plane , struct drm_atomic_state *state );
ARGUMENTS plane display plane
state Only used to get crtc info
DESCRIPTION Formally update stdu->display_... |
vmw_stdu_primary_plane_cleanup_fb(9) | NAME vmw_stdu_primary_plane_cleanup_fb - Unpins the display surface
SYNOPSIS void vmw_stdu_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 s... |
vmw_stdu_primary_plane_prepare_fb(9) | NAME vmw_stdu_primary_plane_prepare_fb - Readies the display surface
SYNOPSIS int vmw_stdu_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 This function allocates... |
vmw_stdu_update_st(9) | NAME vmw_stdu_update_st - Full update of a Screen Target
SYNOPSIS int vmw_stdu_update_st (struct vmw_private *dev_priv , struct vmw_screen_target_display_unit *stdu );
ARGUMENTS dev_priv VMW DRM device
stdu display unit affected
DESCRIPTION This function needs to be called whenever the content of a... |
vmw_stream(9) | NAME vmw_stream - Typecast a struct vmw_resource to a struct vmw_stream.
SYNOPSIS struct vmw_stream * vmw_stream (struct vmw_resource *res );
ARGUMENTS res Pointer to the struct vmw_resource.
RETURN Returns a pointer to the struct vmw_stream.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_va.c struct ... |
vmw_stream_claim_ioctl(9) | NAME vmw_stream_claim_ioctl - Ioctl to claim a struct vmw_stream overlay.
SYNOPSIS int vmw_stream_claim_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Pointer to the drm device.
data The ioctl argument
file_priv Pointer to a struct drm_file id... |
vmw_stream_unref_ioctl(9) | NAME vmw_stream_unref_ioctl - Ioctl to unreference a user-space handle to a struct vmw_stream.
SYNOPSIS int vmw_stream_unref_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Pointer to the drm device.
data The ioctl argument
file_priv Pointer to... |
vmw_subres_dirty_add(9) | NAME vmw_subres_dirty_add - Add a dirty region to a subresource
SYNOPSIS void vmw_subres_dirty_add (struct vmw_surface_dirty *dirty , const struct vmw_surface_loc *loc_start , const struct vmw_surface_loc *loc_end );
ARGUMENTS dirty The surfaces's dirty tracker.
loc_start The location corresponding to... |
vmw_subres_dirty_full(9) | NAME vmw_subres_dirty_full - Mark a full subresource as dirty
SYNOPSIS void vmw_subres_dirty_full (struct vmw_surface_dirty *dirty , u32 subres );
ARGUMENTS dirty The surface's dirty tracker.
subres The subresource
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct vmw_user... |
vmw_surface_define_encode(9) | NAME vmw_surface_define_encode - Encode a surface_define command.
SYNOPSIS void vmw_surface_define_encode (const struct vmw_surface *srf , void *cmd_space );
ARGUMENTS srf Pointer to a struct vmw_surface object.
cmd_space Pointer to memory area in which the commands should be encoded.
SEE ALSO Kern... |
vmw_surface_define_ioctl(9) | NAME vmw_surface_define_ioctl - Ioctl function implementing the user surface define functionality.
SYNOPSIS int vmw_surface_define_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Pointer to a struct drm_device.
data Pointer to data copied from / to user-... |
vmw_surface_define_size(9) | NAME vmw_surface_define_size - Compute fifo size for a surface define command.
SYNOPSIS uint32_t vmw_surface_define_size (const struct vmw_surface *srf );
ARGUMENTS srf Pointer to a struct vmw_surface
DESCRIPTION Computes the required size for a surface define command for the definition of the surface repres... |
vmw_surface_destroy_encode(9) | NAME vmw_surface_destroy_encode - Encode a surface_destroy command.
SYNOPSIS void vmw_surface_destroy_encode (uint32_t id , void *cmd_space );
ARGUMENTS id The surface id
cmd_space Pointer to memory area in which the commands should be encoded.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwg... |
vmw_surface_destroy_ioctl(9) | NAME vmw_surface_destroy_ioctl - Ioctl function implementing the user surface destroy functionality.
SYNOPSIS int vmw_surface_destroy_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Pointer to a struct drm_device.
data Pointer to data copied from / to us... |
vmw_surface_destroy_size(9) | NAME vmw_surface_destroy_size - Compute fifo size for a surface destroy command.
SYNOPSIS uint32_t vmw_surface_destroy_size (void );
ARGUMENTS void no arguments
DESCRIPTION Computes the required size for a surface destroy command for the destruction of a hw surface.
SEE ALSO Kernel file ./drivers/gpu/drm/v... |
vmw_surface_dma_encode(9) | NAME vmw_surface_dma_encode - Encode a surface_dma command.
SYNOPSIS void vmw_surface_dma_encode (struct vmw_surface *srf , void *cmd_space , const SVGAGuestPtr *ptr , bool to_surface );
ARGUMENTS srf Pointer to a struct vmw_surface object.
cmd_space Pointer to memory area in which the commands shou... |
vmw_surface_dma_size(9) | NAME vmw_surface_dma_size - Compute fifo size for a dma command.
SYNOPSIS uint32_t vmw_surface_dma_size (const struct vmw_surface *srf );
ARGUMENTS srf Pointer to a struct vmw_surface
DESCRIPTION Computes the required size for a surface dma command for backup or restoration of the surface represented by srf.... |
vmw_surface_get_desc(9) | NAME vmw_surface_get_desc - Look up the appropriate SVGA3dSurfaceDesc for the given format.
SYNOPSIS const SVGA3dSurfaceDesc * vmw_surface_get_desc (SVGA3dSurfaceFormat format );
ARGUMENTS format -- undescribed --
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmw_surface_cache.h vmw_surface_get_mip_size(9),... |
vmw_surface_get_image_buffer_size(9) | NAME vmw_surface_get_image_buffer_size - Calculates image buffer size.
SYNOPSIS u32 vmw_surface_get_image_buffer_size (const SVGA3dSurfaceDesc *desc , const struct drm_vmw_size *size , u32 pitch );
ARGUMENTS desc -- undescribed --
size -- undescribed --
pitch -- undescribed --
DES... |
vmw_surface_get_loc(9) | NAME vmw_surface_get_loc - Get a surface location from an offset into the backing store
SYNOPSIS void vmw_surface_get_loc (const struct vmw_surface_cache *cache , struct vmw_surface_loc *loc , size_t offset );
ARGUMENTS cache Surface layout data.
loc Pointer to a struct vmw_surface_loc to be fil... |
vmw_surface_get_mip_size(9) | NAME vmw_surface_get_mip_size - Given a base level size and the mip level, compute the size of the mip level.
SYNOPSIS struct drm_vmw_size vmw_surface_get_mip_size (struct drm_vmw_size base_level , u32 mip_level );
ARGUMENTS base_level -- undescribed --
mip_level -- undescribed --
SEE ALSO Kernel file ... |
vmw_surface_get_pixel_offset(9) | NAME vmw_surface_get_pixel_offset - Compute the offset (in bytes) to a pixel in an image (or volume).
SYNOPSIS u32 vmw_surface_get_pixel_offset (SVGA3dSurfaceFormat format , u32 width , u32 height , u32 x , u32 y , u32 z );
ARGUMENTS format -- undescribed --
width The image width in pixels.
... |
vmw_surface_get_serialized_size(9) | NAME vmw_surface_get_serialized_size - Get the serialized size for the image.
SYNOPSIS u32 vmw_surface_get_serialized_size (SVGA3dSurfaceFormat format , struct drm_vmw_size base_level_size , u32 num_mip_levels , u32 num_layers );
ARGUMENTS format -- undescribed --
base_level_size
-- un... |
vmw_surface_get_serialized_size_extended(9) | NAME vmw_surface_get_serialized_size_extended - Returns the number of bytes required for a surface with given parameters. Support for sample count.
SYNOPSIS u32 vmw_surface_get_serialized_size_extended (SVGA3dSurfaceFormat format , struct drm_vmw_size base_level_size , u32 num_mip_levels , u32 num_layers , u32 num_sam... |
vmw_surface_inc_loc(9) | NAME vmw_surface_inc_loc - Clamp increment a surface location with one block size in each dimension.
SYNOPSIS void vmw_surface_inc_loc (const struct vmw_surface_cache *cache , struct vmw_surface_loc *loc );
ARGUMENTS cache -- undescribed --
loc Pointer to a struct vmw_surface_loc to be increment... |
vmw_surface_init(9) | NAME vmw_surface_init - initialize a struct vmw_surface
SYNOPSIS int vmw_surface_init (struct vmw_private *dev_priv , struct vmw_surface *srf , void (*res_free) (struct vmw_resource *res) );
ARGUMENTS dev_priv Pointer to a device private struct.
srf Pointer to the struct vmw_surface to initialize.
... |
vmw_surface_is_dx_screen_target_format(9) | NAME vmw_surface_is_dx_screen_target_format - Is the specified format usable as a ScreenTarget? (with DX10 enabled)
SYNOPSIS bool vmw_surface_is_dx_screen_target_format (SVGA3dSurfaceFormat format );
ARGUMENTS format format to queried
DESCRIPTION Results: true if queried format is valid for screen targets
SEE ... |
vmw_surface_is_gb_screen_target_format(9) | NAME vmw_surface_is_gb_screen_target_format - Is the specified format usable as a ScreenTarget? (with just the GBObjects cap-bit set)
SYNOPSIS bool vmw_surface_is_gb_screen_target_format (SVGA3dSurfaceFormat format );
ARGUMENTS format format to queried
RETURN true if queried format is valid for screen targets
... |
vmw_surface_is_screen_target_format(9) | NAME vmw_surface_is_screen_target_format - Is the specified format usable as a ScreenTarget? (for some combination of caps)
SYNOPSIS bool vmw_surface_is_screen_target_format (SVGA3dSurfaceFormat format );
ARGUMENTS format format to queried
DESCRIPTION Results: true if queried format is valid for screen targets
... |
vmw_surface_min_loc(9) | NAME vmw_surface_min_loc - The start location in a subresource
SYNOPSIS void vmw_surface_min_loc (const struct vmw_surface_cache *cache , u32 sub_resource , struct vmw_surface_loc *loc );
ARGUMENTS cache Surface layout data.
sub_resource
The subresource.
loc Pointer to... |
vmw_surface_reference_ioctl(9) | NAME vmw_surface_reference_ioctl - Ioctl function implementing the user surface reference functionality.
SYNOPSIS int vmw_surface_reference_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Pointer to a struct drm_device.
data Pointer to data copied from /... |
vmw_surface_setup_cache(9) | NAME vmw_surface_setup_cache - Build a surface cache entry
SYNOPSIS int vmw_surface_setup_cache (const struct drm_vmw_size *size , SVGA3dSurfaceFormat format , u32 num_mip_levels , u32 num_layers , u32 num_samples , struct vmw_surface_cache *cache );
ARGUMENTS size The surface base level dimensions.
fo... |
vmw_surface_subres(9) | NAME vmw_surface_subres - Compute the subresource from layer and mipmap.
SYNOPSIS u32 vmw_surface_subres (const struct vmw_surface_cache *cache , u32 mip_level , u32 layer );
ARGUMENTS cache Surface layout data.
mip_level The mipmap level.
layer The surface layer (face or array slice).
... |
vmw_svga_disable(9) | NAME vmw_svga_disable - Disable SVGA_MODE, and use of VRAM. Keep the fifo running.
SYNOPSIS void vmw_svga_disable (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to device private struct. Will empty VRAM.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_dummy_query_bo_create(9), vmw_req... |
vmw_svga_enable(9) | NAME vmw_svga_enable - Enable SVGA mode, FIFO and use of VRAM.
SYNOPSIS void vmw_svga_enable (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to device private struct.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_dummy_query_bo_create(9), vmw_request_device_late(9), vmw_release_device... |
vmw_swap_notify(9) | NAME vmw_swap_notify - TTM move_notify_callback
SYNOPSIS void vmw_swap_notify (struct ttm_buffer_object *bo );
ARGUMENTS bo The TTM buffer object about to be swapped out.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c __vmw_piter_non_sg_next(9), vmw_piter_start(9), vmw_ttm_unmap_from_... |
vmw_thread_fn(9) | NAME vmw_thread_fn - Deferred (process context) irq handler
SYNOPSIS irqreturn_t vmw_thread_fn (int irq , void *arg );
ARGUMENTS irq irq number
arg Closure argument. Pointer to a struct drm_device cast to void *
DESCRIPTION This function implements the deferred part of irq processing. The fu... |
vmw_translate_guest_ptr(9) | NAME vmw_translate_guest_ptr - Prepare to translate a user-space buffer handle to a valid SVGAGuestPtr
SYNOPSIS int vmw_translate_guest_ptr (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGAGuestPtr *ptr , struct vmw_bo **vmw_bo_p );
ARGUMENTS dev_priv Pointer to a device private structure.
... |
vmw_translate_mob_ptr(9) | NAME vmw_translate_mob_ptr - Prepare to translate a user-space buffer handle to a MOB id.
SYNOPSIS int vmw_translate_mob_ptr (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGAMobId *id , struct vmw_bo **vmw_bo_p );
ARGUMENTS dev_priv Pointer to a device private structure.
sw_context ... |
vmw_ttm_map_dma(9) | NAME vmw_ttm_map_dma - Make sure TTM pages are visible to the device
SYNOPSIS int vmw_ttm_map_dma (struct vmw_ttm_tt *vmw_tt );
ARGUMENTS vmw_tt Pointer to a struct vmw_ttm_tt
DESCRIPTION Select the correct function for and make sure the TTM pages are visible to the device. Allocate storage for the device map... |
vmw_ttm_map_for_dma(9) | NAME vmw_ttm_map_for_dma - map TTM pages to get device addresses
SYNOPSIS int vmw_ttm_map_for_dma (struct vmw_ttm_tt *vmw_tt );
ARGUMENTS vmw_tt Pointer to a struct vmw_ttm_backend
DESCRIPTION This function is used to get device addresses from the kernel DMA layer. However, it's violating the DMA API in tha... |
vmw_ttm_unmap_dma(9) | NAME vmw_ttm_unmap_dma - Tear down any TTM page device mappings
SYNOPSIS void vmw_ttm_unmap_dma (struct vmw_ttm_tt *vmw_tt );
ARGUMENTS vmw_tt Pointer to a struct vmw_ttm_tt
DESCRIPTION Tear down any previously set up device DMA mappings and free any storage space allocated for them. If there are no mappings se... |
vmw_ttm_unmap_from_dma(9) | NAME vmw_ttm_unmap_from_dma - unmap device addresses previsouly mapped for TTM pages
SYNOPSIS void vmw_ttm_unmap_from_dma (struct vmw_ttm_tt *vmw_tt );
ARGUMENTS vmw_tt Pointer to a struct vmw_ttm_backend
DESCRIPTION Used to free dma mappings previously mapped by vmw_ttm_map_for_dma.
SEE ALSO Kernel file .... |
vmw_user_bo_lookup(9) | NAME vmw_user_bo_lookup - Look up a vmw user buffer object from a handle.
SYNOPSIS int vmw_user_bo_lookup (struct drm_file *filp , u32 handle , struct vmw_bo **out );
ARGUMENTS filp The file the handle is registered with.
handle The user buffer object handle
out Pointer to a where ... |
vmw_user_bo_synccpu_grab(9) | NAME vmw_user_bo_synccpu_grab - Grab a struct vmw_bo for cpu access, idling previous GPU operations on the buffer and optionally blocking it for further command submissions.
SYNOPSIS int vmw_user_bo_synccpu_grab (struct vmw_bo *vmw_bo , uint32_t flags );
ARGUMENTS vmw_bo Pointer to the buffer object being grabbe... |
vmw_user_bo_synccpu_ioctl(9) | NAME vmw_user_bo_synccpu_ioctl - ioctl function implementing the synccpu functionality.
SYNOPSIS int vmw_user_bo_synccpu_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 Id... |
vmw_user_bo_synccpu_release(9) | NAME vmw_user_bo_synccpu_release - Release a previous grab for CPU access, and unblock command submission on the buffer if blocked.
SYNOPSIS int vmw_user_bo_synccpu_release (struct drm_file *filp , uint32_t handle , uint32_t flags );
ARGUMENTS filp Identifying the caller.
handle Handle identifying... |
vmw_user_resource_lookup_handle(9) | NAME vmw_user_resource_lookup_handle - lookup a struct resource from a TTM user-space handle and perform basic type checks
SYNOPSIS int vmw_user_resource_lookup_handle (struct vmw_private *dev_priv , struct ttm_object_file *tfile , uint32_t handle , const struct vmw_user_resource_conv *converter , struct vmw_resource ... |
vmw_user_stream_lookup(9) | NAME vmw_user_stream_lookup - Look up a struct vmw_user_stream from a handle.
SYNOPSIS int vmw_user_stream_lookup (struct vmw_private *dev_priv , struct ttm_object_file *tfile , uint32_t *inout_id , struct vmw_resource **out );
ARGUMENTS dev_priv Pointer to a struct vmw_private.
tfile struct ttm_obje... |
vmw_user_surface_base_release(9) | NAME vmw_user_surface_base_release - User visible surface TTM base object destructor
SYNOPSIS void vmw_user_surface_base_release (struct ttm_base_object **p_base );
ARGUMENTS p_base Pointer to a pointer to a TTM base object embedded in a struct vmw_user_surface.
DESCRIPTION Drops the base object's reference on ... |
vmw_user_surface_base_to_res(9) | NAME vmw_user_surface_base_to_res - TTM base object to resource converter for user visible surfaces
SYNOPSIS struct vmw_resource * vmw_user_surface_base_to_res (struct ttm_base_object *base );
ARGUMENTS base Pointer to a TTM base object
DESCRIPTION Returns the struct vmw_resource embedded in a struct vmw_surf... |
vmw_user_surface_free(9) | NAME vmw_user_surface_free - User visible surface resource destructor
SYNOPSIS void vmw_user_surface_free (struct vmw_resource *res );
ARGUMENTS res A struct vmw_resource embedded in a struct vmw_surface.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct vmw_user_surface(9), struct ... |
vmw_validation_add_bo(9) | NAME vmw_validation_add_bo - Add a buffer object to the validation context.
SYNOPSIS int vmw_validation_add_bo (struct vmw_validation_context *ctx , struct vmw_bo *vbo );
ARGUMENTS ctx The validation context.
vbo The buffer object.
RETURN Zero on success, negative error code otherwise.
SEE A... |
vmw_validation_add_resource(9) | NAME vmw_validation_add_resource - Add a resource to the validation context.
SYNOPSIS int vmw_validation_add_resource (struct vmw_validation_context *ctx , struct vmw_resource *res , size_t priv_size , u32 dirty , void **p_node , bool *first_usage );
ARGUMENTS ctx The validation context.
res T... |
vmw_validation_align(9) | NAME vmw_validation_align - Align a validation memory allocation
SYNOPSIS unsigned int vmw_validation_align (unsigned int val );
ARGUMENTS val The size to be aligned
RETURN val aligned to the granularity used by the validation memory allocator.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_validation... |
vmw_validation_bo_backoff(9) | NAME vmw_validation_bo_backoff - Unreserve buffer objects registered with a validation context
SYNOPSIS void vmw_validation_bo_backoff (struct vmw_validation_context *ctx );
ARGUMENTS ctx The validation context
DESCRIPTION This function unreserves the buffer objects previously reserved using vmw_validation_b... |
vmw_validation_bo_fence(9) | NAME vmw_validation_bo_fence - Unreserve and fence buffer objects registered with a validation context
SYNOPSIS void vmw_validation_bo_fence (struct vmw_validation_context *ctx , struct vmw_fence_obj *fence );
ARGUMENTS ctx The validation context
fence -- undescribed --
DESCRIPTION This functio... |
vmw_validation_bo_reserve(9) | NAME vmw_validation_bo_reserve - Reserve buffer objects registered with a validation context
SYNOPSIS int vmw_validation_bo_reserve (struct vmw_validation_context *ctx , bool intr );
ARGUMENTS ctx The validation context
intr Perform waits interruptible
RETURN Zero on success, -ERESTARTSYS when... |
vmw_validation_bo_validate(9) | NAME vmw_validation_bo_validate - Validate all buffer objects registered with the validation context.
SYNOPSIS int vmw_validation_bo_validate (struct vmw_validation_context *ctx , bool intr );
ARGUMENTS ctx The validation context.
intr Whether to perform waits interruptible if possible.
RETURN... |
vmw_validation_bo_validate_single(9) | NAME vmw_validation_bo_validate_single - Validate a single buffer object.
SYNOPSIS int vmw_validation_bo_validate_single (struct ttm_buffer_object *bo , bool interruptible );
ARGUMENTS bo The TTM buffer object base.
interruptible
Whether to perform waits interruptible if possible.
... |
vmw_validation_done(9) | NAME vmw_validation_done - Commit validation actions after command submission success.
SYNOPSIS void vmw_validation_done (struct vmw_validation_context *ctx , struct vmw_fence_obj *fence );
ARGUMENTS ctx The validation context.
fence Fence with which to fence all buffer objects taking part in th... |
vmw_validation_drop_ht(9) | NAME vmw_validation_drop_ht - Reset the hash table used for duplicate finding and unregister it from this validation context.
SYNOPSIS void vmw_validation_drop_ht (struct vmw_validation_context *ctx );
ARGUMENTS ctx The validation context.
DESCRIPTION The hash table used for duplicate finding is an expensive... |
vmw_validation_find_bo_dup(9) | NAME vmw_validation_find_bo_dup - Find a duplicate buffer object entry in the validation context's lists.
SYNOPSIS struct vmw_validation_bo_node * vmw_validation_find_bo_dup (struct vmw_validation_context *ctx , struct vmw_bo *vbo );
ARGUMENTS ctx The validation context to search.
vbo The buff... |
vmw_validation_find_res_dup(9) | NAME vmw_validation_find_res_dup - Find a duplicate resource entry in the validation context's lists.
SYNOPSIS struct vmw_validation_res_node * vmw_validation_find_res_dup (struct vmw_validation_context *ctx , struct vmw_resource *res );
ARGUMENTS ctx The validation context to search.
res Refe... |
vmw_validation_has_bos(9) | NAME vmw_validation_has_bos - return whether the validation context has any buffer objects registered.
SYNOPSIS bool vmw_validation_has_bos (struct vmw_validation_context *ctx );
ARGUMENTS ctx The validation context
RETURN Whether any buffer objects are registered
SEE ALSO Kernel file ./drivers/gpu/drm/vmwg... |
vmw_validation_mem_alloc(9) | NAME vmw_validation_mem_alloc - Allocate kernel memory from the validation context based allocator
SYNOPSIS void * vmw_validation_mem_alloc (struct vmw_validation_context *ctx , unsigned int size );
ARGUMENTS ctx The validation context
size The number of bytes to allocated.
DESCRIPTION The me... |
vmw_validation_mem_free(9) | NAME vmw_validation_mem_free - Free all memory allocated using vmw_validation_mem_alloc()
SYNOPSIS void vmw_validation_mem_free (struct vmw_validation_context *ctx );
ARGUMENTS ctx The validation context
DESCRIPTION All memory previously allocated for this context using vmw_validation_mem_alloc is freed.
SE... |
vmw_validation_preload_bo(9) | NAME vmw_validation_preload_bo - Preload the validation memory allocator for a call to vmw_validation_add_bo().
SYNOPSIS int vmw_validation_preload_bo (struct vmw_validation_context *ctx );
ARGUMENTS ctx Pointer to the validation context.
DESCRIPTION Iff this function returns successfully, the next call to v... |
vmw_validation_preload_res(9) | NAME vmw_validation_preload_res - Preload the validation memory allocator for a call to vmw_validation_add_res().
SYNOPSIS int vmw_validation_preload_res (struct vmw_validation_context *ctx , unsigned int size );
ARGUMENTS ctx Pointer to the validation context.
size Size of the validation node ... |
vmw_validation_prepare(9) | NAME vmw_validation_prepare - Prepare a validation context for command submission.
SYNOPSIS int vmw_validation_prepare (struct vmw_validation_context *ctx , struct mutex *mutex , bool intr );
ARGUMENTS ctx The validation context.
mutex The mutex used to protect resource reservation.
intr... |
vmw_validation_res_reserve(9) | NAME vmw_validation_res_reserve - Reserve all resources registered with this validation context.
SYNOPSIS int vmw_validation_res_reserve (struct vmw_validation_context *ctx , bool intr );
ARGUMENTS ctx The validation context.
intr Use interruptible waits when possible.
RETURN Zero on success, ... |
vmw_validation_res_set_dirty(9) | NAME vmw_validation_res_set_dirty - Register a resource dirty set or clear during validation.
SYNOPSIS void vmw_validation_res_set_dirty (struct vmw_validation_context *ctx , void *val_private , u32 dirty );
ARGUMENTS ctx The validation context.
val_private The additional meta-data pointer returned wh... |
vmw_validation_res_switch_backup(9) | NAME vmw_validation_res_switch_backup - Register a backup MOB switch during validation.
SYNOPSIS void vmw_validation_res_switch_backup (struct vmw_validation_context *ctx , void *val_private , struct vmw_bo *vbo , unsigned long guest_memory_offset );
ARGUMENTS ctx The validation context.
val_private T... |
vmw_validation_res_unreserve(9) | NAME vmw_validation_res_unreserve - Unreserve all reserved resources registered with this validation context.
SYNOPSIS void vmw_validation_res_unreserve (struct vmw_validation_context *ctx , bool backoff );
ARGUMENTS ctx The validation context.
backoff Whether this is a backoff- of a commit-type o... |
vmw_validation_res_validate(9) | NAME vmw_validation_res_validate - Validate all resources registered with the validation context.
SYNOPSIS int vmw_validation_res_validate (struct vmw_validation_context *ctx , bool intr );
ARGUMENTS ctx The validation context.
intr Whether to perform waits interruptible if possible.
DESCRIPTI... |
vmw_validation_revert(9) | NAME vmw_validation_revert - Revert validation actions if command submission failed.
SYNOPSIS void vmw_validation_revert (struct vmw_validation_context *ctx );
ARGUMENTS ctx The validation context.
DESCRIPTION The caller still needs to unref resources after a call to this function.
SEE ALSO Kernel file ./... |
vmw_validation_unref_lists(9) | NAME vmw_validation_unref_lists - Unregister previously registered buffer object and resources.
SYNOPSIS void vmw_validation_unref_lists (struct vmw_validation_context *ctx );
ARGUMENTS ctx The validation context.
DESCRIPTION Note that this function may cause buffer object- and resource destructors to be inv... |
vmw_view(9) | NAME vmw_view - Convert a struct vmw_resource to a struct vmw_view
SYNOPSIS struct vmw_view * vmw_view (struct vmw_resource *res );
ARGUMENTS res Pointer to the resource to convert.
DESCRIPTION Returns a pointer to a struct vmw_view.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_so.c struct v... |
vmw_view_add(9) | NAME vmw_view_add - Create a view resource and stage it for addition as a command buffer managed resource.
SYNOPSIS int vmw_view_add (struct vmw_cmdbuf_res_manager *man , struct vmw_resource *ctx , struct vmw_resource *srf , enum vmw_view_type view_type , u32 user_key , const void *cmd , size_t cmd_size , struct list_... |
vmw_view_bindings_add(9) | NAME vmw_view_bindings_add - Add an array of view bindings to a context binding state tracker.
SYNOPSIS int vmw_view_bindings_add (struct vmw_sw_context *sw_context , enum vmw_view_type view_type , enum vmw_ctx_binding_type binding_type , uint32 shader_slot , uint32 view_ids[] , u32 num_views , u32 first_slot );
ARGU... |
vmw_view_commit_notify(9) | NAME vmw_view_commit_notify - Notify that a view operation has been committed to hardware from a user-supplied command stream.
SYNOPSIS void vmw_view_commit_notify (struct vmw_resource *res , enum vmw_cmdbuf_res_state state );
ARGUMENTS res Pointer to the view resource.
state Indicating whether ... |
vmw_view_cotable_list_destroy(9) | NAME vmw_view_cotable_list_destroy - Evict all views belonging to a cotable.
SYNOPSIS void vmw_view_cotable_list_destroy (struct vmw_private *dev_priv , struct list_head *list , bool readback );
ARGUMENTS dev_priv Pointer to a device private struct.
list List of views belonging to a cotable.
... |
vmw_view_create(9) | NAME vmw_view_create - Create a hardware view.
SYNOPSIS int vmw_view_create (struct vmw_resource *res );
ARGUMENTS res Pointer to the view resource.
DESCRIPTION Create a hardware view. Typically used if that view has previously been destroyed by an eviction operation.
SEE ALSO Kernel file ./drivers/gpu/dr... |
vmw_view_destroy(9) | NAME vmw_view_destroy - Destroy a hardware view.
SYNOPSIS int vmw_view_destroy (struct vmw_resource *res );
ARGUMENTS res Pointer to the view resource.
DESCRIPTION Destroy a hardware view. Typically used on unexpected termination of the owning process or if the surface the view is pointing to is destroyed.
... |
vmw_view_dirtying(9) | NAME vmw_view_dirtying - Return whether a view type is dirtying its resource
SYNOPSIS u32 vmw_view_dirtying (struct vmw_resource *res );
ARGUMENTS res Pointer to the view
DESCRIPTION Each time a resource is put on the validation list as the result of a view pointing to it, we need to determine whether that r... |
vmw_view_id_ok(9) | NAME vmw_view_id_ok - Basic view id and type range checks.
SYNOPSIS bool vmw_view_id_ok (u32 user_key , enum vmw_view_type view_type );
ARGUMENTS user_key The user-space id used for the view.
view_type The view type.
DESCRIPTION Checks that the view id and type (typically provided by user-space) is vali... |
vmw_view_id_val_add(9) | NAME vmw_view_id_val_add - Look up a view and add it and the surface it's pointing to to the validation list.
SYNOPSIS struct vmw_resource * vmw_view_id_val_add (struct vmw_sw_context *sw_context , enum vmw_view_type view_type , u32 id );
ARGUMENTS sw_context The software context holding the validation list.
... |
vmw_view_key(9) | NAME vmw_view_key - Compute a view key suitable for the cmdbuf resource manager
SYNOPSIS u32 vmw_view_key (u32 user_key , enum vmw_view_type view_type );
ARGUMENTS user_key The user-space id used for the view.
view_type The view type.
DESCRIPTION Destroy a hardware view if it's still present.
SEE ALSO ... |
vmw_view_lookup(9) | NAME vmw_view_lookup - Look up a view.
SYNOPSIS struct vmw_resource * vmw_view_lookup (struct vmw_cmdbuf_res_manager *man , enum vmw_view_type view_type , u32 user_key );
ARGUMENTS man The context's cmdbuf ref manager.
view_type The view type.
user_key The view user id.
DESCRIPTION retur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.