Go to the documentation of this file.
28 #ifndef __VMWGFX_DRM_H__
29 #define __VMWGFX_DRM_H__
31 #define DRM_VMW_MAX_SURFACE_FACES 6
32 #define DRM_VMW_MAX_MIP_LEVELS 24
35 #define DRM_VMW_GET_PARAM 0
36 #define DRM_VMW_ALLOC_DMABUF 1
37 #define DRM_VMW_UNREF_DMABUF 2
38 #define DRM_VMW_CURSOR_BYPASS 3
40 #define DRM_VMW_CONTROL_STREAM 4
41 #define DRM_VMW_CLAIM_STREAM 5
42 #define DRM_VMW_UNREF_STREAM 6
44 #define DRM_VMW_CREATE_CONTEXT 7
45 #define DRM_VMW_UNREF_CONTEXT 8
46 #define DRM_VMW_CREATE_SURFACE 9
47 #define DRM_VMW_UNREF_SURFACE 10
48 #define DRM_VMW_REF_SURFACE 11
49 #define DRM_VMW_EXECBUF 12
50 #define DRM_VMW_GET_3D_CAP 13
51 #define DRM_VMW_FENCE_WAIT 14
52 #define DRM_VMW_FENCE_SIGNALED 15
53 #define DRM_VMW_FENCE_UNREF 16
54 #define DRM_VMW_FENCE_EVENT 17
55 #define DRM_VMW_PRESENT 18
56 #define DRM_VMW_PRESENT_READBACK 19
57 #define DRM_VMW_UPDATE_LAYOUT 20
71 #define DRM_VMW_PARAM_NUM_STREAMS 0
72 #define DRM_VMW_PARAM_NUM_FREE_STREAMS 1
73 #define DRM_VMW_PARAM_3D 2
74 #define DRM_VMW_PARAM_HW_CAPS 3
75 #define DRM_VMW_PARAM_FIFO_CAPS 4
76 #define DRM_VMW_PARAM_MAX_FB_SIZE 5
77 #define DRM_VMW_PARAM_FIFO_HW_VERSION 6
276 #define DRM_VMW_EXECBUF_VERSION 1
477 #define DRM_VMW_CURSOR_BYPASS_ALL (1 << 0)
478 #define DRM_VMW_CURSOR_BYPASS_FLAGS (1)
578 #define DRM_VMW_FENCE_FLAG_EXEC (1 << 0)
579 #define DRM_VMW_FENCE_FLAG_QUERY (1 << 1)
581 #define DRM_VMW_WAIT_OPTION_UNREF (1 << 0)
674 #define DRM_VMW_EVENT_FENCE_SIGNALED 0x80000000
687 #define DRM_VMW_FE_FLAG_REQ_TIME (1 << 0)