aboutsummaryrefslogtreecommitdiff
path: root/shared-core/xgi_drm.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-06-10 22:18:14 -0700
committerIan Romanick <idr@us.ibm.com>2008-06-10 22:18:14 -0700
commitb535567ee95b8407d7860a4d6350df8e8fbac15a (patch)
tree427f1de1a990ef7195cafef93e3b7e54a40f582c /shared-core/xgi_drm.h
parent4f3da2f200577fcfbf913985246b3a4d23c6a818 (diff)
xgixp: Remove dependency on TTM fences
Diffstat (limited to 'shared-core/xgi_drm.h')
-rw-r--r--shared-core/xgi_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/xgi_drm.h b/shared-core/xgi_drm.h
index ce584420..7d01065e 100644
--- a/shared-core/xgi_drm.h
+++ b/shared-core/xgi_drm.h
@@ -123,11 +123,15 @@ struct xgi_state_info {
#define DRM_XGI_FREE 2
#define DRM_XGI_SUBMIT_CMDLIST 3
#define DRM_XGI_STATE_CHANGE 4
+#define DRM_XGI_SET_FENCE 5
+#define DRM_XGI_WAIT_FENCE 6
#define XGI_IOCTL_BOOTSTRAP DRM_IOWR(DRM_COMMAND_BASE + DRM_XGI_BOOTSTRAP, struct xgi_bootstrap)
#define XGI_IOCTL_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_XGI_ALLOC, struct xgi_mem_alloc)
#define XGI_IOCTL_FREE DRM_IOW(DRM_COMMAND_BASE + DRM_XGI_FREE, __u32)
#define XGI_IOCTL_SUBMIT_CMDLIST DRM_IOW(DRM_COMMAND_BASE + DRM_XGI_SUBMIT_CMDLIST, struct xgi_cmd_info)
#define XGI_IOCTL_STATE_CHANGE DRM_IOW(DRM_COMMAND_BASE + DRM_XGI_STATE_CHANGE, struct xgi_state_info)
+#define XGI_IOCTL_SET_FENCE DRM_IOWR(DRM_COMMAND_BASE + DRM_XGI_SET_FENCE, u32)
+#define XGI_IOCTL_WAIT_FENCE DRM_IOWR(DRM_COMMAND_BASE + DRM_XGI_WAIT_FENCE, u32)
#endif /* _XGI_DRM_H_ */