Lines Matching +full:enum +full:- +full:as +full:- +full:flags

3  * Copyright © 2009-2022 VMware, Inc., Palo Alto, CA., USA
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
81 * DRM_VMW_GET_PARAM - get device information.
84 * Offset to use to map the first page of the FIFO read-only.
123 * enum drm_vmw_handle_type - handle type for ref ioctls
126 enum drm_vmw_handle_type {
148 * DRM_VMW_CREATE_CONTEXT - Create a host context.
170 * DRM_VMW_UNREF_CONTEXT - Create a host context.
174 * in the command stream and shows up as the same context ID on the host.
179 * DRM_VMW_CREATE_SURFACE - Create a host suface.
183 * used directly in the command stream and shows up as the same surface
190 * @flags: Surface flags as understood by the host.
191 * @format: Surface format as understood by the host.
194 * @size_addr: Address of a user-space array of sruct drm_vmw_size
195 * cast to an __u64 for 32-64 bit compatibility.
197 * @shareable: Boolean whether other clients (as identified by file descriptors)
199 * @scanout: Boolean whether the surface is intended to be used as a
207 __u32 flags; member
228 enum drm_vmw_handle_type handle_type;
234 * @width - mip level width
235 * @height - mip level height
236 * @depth - mip level depth
252 * @rep: Output data as described above.
253 * @req: Input data as described above.
265 * DRM_VMW_REF_SURFACE - Reference a host surface.
267 * Puts a reference on a host surface with a give sid, as previously
280 * @rep: Output data as described above.
281 * @req: Input data as described above.
293 * DRM_VMW_UNREF_SURFACE - Unreference a host surface.
314 * @commands: User-space address of a command buffer cast to an __u64.
315 * @command-size: Size in bytes of the command buffer.
316 * @throttle-us: Sleep until software is less than @throttle_us
319 * @fence_rep: User-space address of a struct drm_vmw_fence_rep cast to an
322 * backwards compatibility, since user-space will always tell the kernel
324 * @flags: Execbuf flags.
341 __u32 flags; member
350 * @mask: Fence flags relevant for this fence object.
353 * seqno. This can be used by user-space to avoid kernel calls to determine
355 * wrap at 32-bit.
357 * so far. This can be used to mark user-space fence objects as signaled, and
359 * @fd: FD associated with the fence, -1 if not exported
360 * @error: This member should've been set to -EFAULT on submission.
362 * error == -EFAULT: Fence communication failed. The host is synchronized.
364 * error != 0 && error != -EFAULT:
393 * The buffer object may stay user-space mapped in the guest at all times,
394 * and is thus suitable for sub-allocation.
438 * @req: Input data as described above.
439 * @rep: Output data as described above.
452 * DRM_VMW_CONTROL_STREAM - Control overlays, aka streams.
482 * @format: Format of the overlay as understood by the host.
498 __u32 flags; member
516 * DRM_VMW_CURSOR_BYPASS - Give extra information about cursor bypass.
526 * @flags: Flags.
537 __u32 flags; member
547 * DRM_VMW_CLAIM_STREAM - Claim a single stream.
566 * DRM_VMW_UNREF_STREAM - Unclaim a stream.
602 * in which case the calls returns -EBUSY. If the wait is restarted,
606 * The flags argument to the DRM_VMW_FENCE_WAIT ioctl indicates what to wait
614 * are available to user-space.
629 * @handle: Fence object handle as returned by the DRM_VMW_EXECBUF ioctl.
635 * @flags: Fence flags to wait on.
647 __s32 flags; member
662 * @handle: Fence object handle as returned by the DRM_VMW_EXECBUF ioctl.
663 * @flags: Fence object flags input to DRM_VMW_FENCE_SIGNALED ioctl
664 * @signaled: Out: Flags signaled.
666 * EXEC flag of user-space fence objects.
674 __u32 flags; member
693 * @handle: Fence object handle as returned by the DRM_VMW_EXECBUF ioctl.
727 * Flags that may be given to the command.
736 * the fence is not supposed to be referenced by user-space.
739 * @flags: A set of flags as defined above.
745 __u32 flags; member
767 * in the same coordinate space as the frame buffer.
768 * @pad64: Unused 64-bit padding.
789 * currently bound as the fb. If there is no dma buffer bound to the fb,
812 * DRM_VMW_UPDATE_LAYOUT - Update layout
836 * DRM_VMW_CREATE_SHADER - Create shader
839 * the shader byte-code.
843 * enum drm_vmw_shader_type - Shader types
845 enum drm_vmw_shader_type {
855 * @size: Size of the byte-code in bytes.
856 * where the shader byte-code starts
858 * shader byte-code
866 enum drm_vmw_shader_type shader_type;
875 * DRM_VMW_UNREF_SHADER - Unreferences a shader
877 * Destroys a user-space reference to a shader, optionally destroying
895 * DRM_VMW_GB_SURFACE_CREATE - Create a host guest-backed surface.
899 * be used as the surface ID in commands referencing the surface.
903 * enum drm_vmw_surface_flags
912 enum drm_vmw_surface_flags {
922 * @svga3d_flags: SVGA3d surface flags for the device.
925 * @drm_surface_flags Flags as described above.
931 * @array_size Must be zero for non-DX hardware, and if non-zero
932 * svga3d_flags must have proper bind flags setup.
941 enum drm_vmw_surface_flags drm_surface_flags;
974 * @req: Input argument as described above.
975 * @rep: Output argument as described above.
986 * DRM_VMW_GB_SURFACE_REF - Reference a host surface.
988 * Puts a reference on a host surface with a given handle, as previously
1001 * @creq: The data used as input when the surface was created, as described
1003 * @crep: Additional data output when the surface was created, as described
1016 * @req: Input data as described above at "struct drm_vmw_surface_arg"
1017 * @rep: Output data as described above at "struct drm_vmw_gb_surface_ref_rep"
1029 * DRM_VMW_SYNCCPU - Sync a DMA buffer / MOB for CPU access.
1035 * The flags argument indicates how the grab / release operation should be
1040 * enum drm_vmw_synccpu_flags - Synccpu flags:
1044 * for read-only.
1048 * -EBUSY should the buffer be busy.
1053 enum drm_vmw_synccpu_flags {
1061 * enum drm_vmw_synccpu_op - Synccpu operations:
1066 enum drm_vmw_synccpu_op {
1074 * @op: The synccpu operation as described above.
1076 * @flags: Flags as described above.
1079 enum drm_vmw_synccpu_op op;
1080 enum drm_vmw_synccpu_flags flags; member
1087 * DRM_VMW_CREATE_EXTENDED_CONTEXT - Create a host context.
1092 enum drm_vmw_extended_context {
1106 enum drm_vmw_extended_context req;
1112 * DRM_VMW_HANDLE_CLOSE - Close a user-space handle and release its
1134 * DRM_VMW_GB_SURFACE_CREATE_EXT - Create a host guest-backed surface.
1138 * be used as the surface ID in commands referencing the surface.
1145 * enum drm_vmw_surface_version
1148 * svga3d surface flags split into 2, upper half and lower half.
1150 enum drm_vmw_surface_version {
1159 * @svga3d_flags_upper_32_bits: Upper 32 bits of svga3d flags.
1170 enum drm_vmw_surface_version version;
1181 * @req: Input argument as described above.
1182 * @rep: Output argument as described above.
1193 * DRM_VMW_GB_SURFACE_REF_EXT - Reference a host surface.
1195 * Puts a reference on a host surface with a given handle, as previously
1208 * @creq: The data used as input when the surface was created, as described
1210 * @crep: Additional data output when the surface was created, as described
1223 * @req: Input data as described above at "struct drm_vmw_surface_arg"
1224 * @rep: Output data as described above at
1237 * @send: Pointer to user-space msg string (null terminated).
1238 * @receive: Pointer to user-space receive buffer.
1253 * @stat: Pointer to user-space stat-counters array, page-aligned.
1254 * @info: Pointer to user-space counter-infos array, page-aligned.
1255 * @strs: Pointer to user-space stat strings, page-aligned.
1256 * @stat_len: Length in bytes of stat-counters array.
1257 * @info_len: Length in bytes of counter-infos array.
1261 * @id: Output identifier of the produced record; -1 if error.