XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_vmw_fence_rep Struct Reference

#include <vmwgfx_drm.h>

Public Attributes

__u32 handle
 
__u32 mask
 
__u32 seqno
 
__u32 passed_seqno
 
__s32 fd
 
__s32 error
 

Detailed Description

struct drm_vmw_fence_rep

@handle: Fence object handle for fence associated with a command submission. @mask: Fence flags relevant for this fence object. @seqno: Fence sequence number in fifo. A fence object with a lower seqno will signal the EXEC flag before a fence object with a higher seqno. This can be used by user-space to avoid kernel calls to determine whether a fence has signaled the EXEC flag. Note that @seqno will wrap at 32-bit. @passed_seqno: The highest seqno number processed by the hardware so far. This can be used to mark user-space fence objects as signaled, and to determine whether a fence seqno might be stale. @fd: FD associated with the fence, -1 if not exported @error: This member should've been set to -EFAULT on submission. The following actions should be take on completion: error == -EFAULT: Fence communication failed. The host is synchronized. Use the last fence id read from the FIFO fence register. error != 0 && error != -EFAULT: Fence submission failed. The host is synchronized. Use the fence_seq member. error == 0: All is OK, The host may not be synchronized. Use the fence_seq member.

Input / Output data to the DRM_VMW_EXECBUF Ioctl.

Member Data Documentation

◆ error

__s32 drm_vmw_fence_rep::error

◆ fd

__s32 drm_vmw_fence_rep::fd

◆ handle

__u32 drm_vmw_fence_rep::handle

◆ mask

__u32 drm_vmw_fence_rep::mask

◆ passed_seqno

__u32 drm_vmw_fence_rep::passed_seqno

◆ seqno

__u32 drm_vmw_fence_rep::seqno

The documentation for this struct was generated from the following file: