Lines Matching +full:exec +full:- +full:units +full:- +full:mask

1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
4 * Copyright © 2009-2023 VMware, Inc., Palo Alto, CA., USA
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
82 * DRM_VMW_GET_PARAM - get device information.
85 * Offset to use to map the first page of the FIFO read-only.
124 * enum drm_vmw_handle_type - handle type for ref ioctls
149 * DRM_VMW_CREATE_CONTEXT - Create a host context.
171 * DRM_VMW_UNREF_CONTEXT - Create a host context.
180 * DRM_VMW_CREATE_SURFACE - Create a host suface.
195 * @size_addr: Address of a user-space array of sruct drm_vmw_size
196 * cast to an __u64 for 32-64 bit compatibility.
235 * @width - mip level width
236 * @height - mip level height
237 * @depth - mip level depth
266 * DRM_VMW_REF_SURFACE - Reference a host surface.
294 * DRM_VMW_UNREF_SURFACE - Unreference a host surface.
315 * @commands: User-space address of a command buffer cast to an __u64.
316 * @command-size: Size in bytes of the command buffer.
317 * @throttle-us: Sleep until software is less than @throttle_us
320 * @fence_rep: User-space address of a struct drm_vmw_fence_rep cast to an
323 * backwards compatibility, since user-space will always tell the kernel
351 * @mask: Fence flags relevant for this fence object.
353 * seqno will signal the EXEC flag before a fence object with a higher
354 * seqno. This can be used by user-space to avoid kernel calls to determine
355 * whether a fence has signaled the EXEC flag. Note that @seqno will
356 * wrap at 32-bit.
358 * so far. This can be used to mark user-space fence objects as signaled, and
360 * @fd: FD associated with the fence, -1 if not exported
361 * @error: This member should've been set to -EFAULT on submission.
363 * error == -EFAULT: Fence communication failed. The host is synchronized.
365 * error != 0 && error != -EFAULT:
375 __u32 mask; member
394 * The buffer object may stay user-space mapped in the guest at all times,
395 * and is thus suitable for sub-allocation.
453 * DRM_VMW_CONTROL_STREAM - Control overlays, aka streams.
455 * This IOCTL controls the overlay units of the svga device.
456 * The SVGA overlay units does not work like regular hardware units in
517 * DRM_VMW_CURSOR_BYPASS - Give extra information about cursor bypass.
548 * DRM_VMW_CLAIM_STREAM - Claim a single stream.
567 * DRM_VMW_UNREF_STREAM - Unclaim a stream.
603 * in which case the calls returns -EBUSY. If the wait is restarted,
615 * are available to user-space.
667 * EXEC flag of user-space fence objects.
737 * the fence is not supposed to be referenced by user-space.
769 * @pad64: Unused 64-bit padding.
813 * DRM_VMW_UPDATE_LAYOUT - Update layout
837 * DRM_VMW_CREATE_SHADER - Create shader
840 * the shader byte-code.
844 * enum drm_vmw_shader_type - Shader types
856 * @size: Size of the byte-code in bytes.
857 * where the shader byte-code starts
859 * shader byte-code
876 * DRM_VMW_UNREF_SHADER - Unreferences a shader
878 * Destroys a user-space reference to a shader, optionally destroying
896 * DRM_VMW_GB_SURFACE_CREATE - Create a host guest-backed surface.
906 * @drm_vmw_surface_flag_shareable: Deprecated - all userspace surfaces are
933 * @array_size Must be zero for non-DX hardware, and if non-zero
988 * DRM_VMW_GB_SURFACE_REF - Reference a host surface.
1031 * DRM_VMW_SYNCCPU - Sync a DMA buffer / MOB for CPU access.
1042 * enum drm_vmw_synccpu_flags - Synccpu flags:
1046 * for read-only.
1050 * -EBUSY should the buffer be busy.
1063 * enum drm_vmw_synccpu_op - Synccpu operations:
1089 * DRM_VMW_CREATE_EXTENDED_CONTEXT - Create a host context.
1114 * DRM_VMW_HANDLE_CLOSE - Close a user-space handle and release its
1136 * DRM_VMW_GB_SURFACE_CREATE_EXT - Create a host guest-backed surface.
1195 * DRM_VMW_GB_SURFACE_REF_EXT - Reference a host surface.
1239 * @send: Pointer to user-space msg string (null terminated).
1240 * @receive: Pointer to user-space receive buffer.
1255 * @stat: Pointer to user-space stat-counters array, page-aligned.
1256 * @info: Pointer to user-space counter-infos array, page-aligned.
1257 * @strs: Pointer to user-space stat strings, page-aligned.
1258 * @stat_len: Length in bytes of stat-counters array.
1259 * @info_len: Length in bytes of counter-infos array.
1263 * @id: Output identifier of the produced record; -1 if error.