Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_vmw_fence_rep Struct Reference

#include <vmwgfx_drm.h>

Data Fields

uint32_t handle
 
uint32_t mask
 
uint32_t seqno
 
uint32_t passed_seqno
 
uint32_t pad64
 
int32_t error
 

Detailed Description

struct drm_vmw_fence_rep

: Fence object handle for fence associated with a command submission. : Fence flags relevant for this fence object. : 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 will wrap at 32-bit. : 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. : 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.

Definition at line 312 of file vmwgfx_drm.h.

Field Documentation

int32_t error

Definition at line 318 of file vmwgfx_drm.h.

Definition at line 313 of file vmwgfx_drm.h.

uint32_t mask

Definition at line 314 of file vmwgfx_drm.h.

uint32_t pad64

Definition at line 317 of file vmwgfx_drm.h.

uint32_t passed_seqno

Definition at line 316 of file vmwgfx_drm.h.

uint32_t seqno

Definition at line 315 of file vmwgfx_drm.h.


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