aboutsummaryrefslogtreecommitdiff
path: root/shared-core/radeon_drm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-01 16:48:38 +1000
committerDave Airlie <airlied@linux.ie>2007-04-01 16:48:38 +1000
commitbe5bf1346e49d5c2e0080913fd55e6898a8744cf (patch)
tree222a0550bb3f29060f8f45f6bfa4f07eb4ff16d5 /shared-core/radeon_drm.h
parent223061e0846a95d4a3dba84b36afb2cef313bae9 (diff)
copy over some files and reorg radeon to add ttm fencing not working yet
Diffstat (limited to 'shared-core/radeon_drm.h')
-rw-r--r--shared-core/radeon_drm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/shared-core/radeon_drm.h b/shared-core/radeon_drm.h
index e96e7851..bdf45802 100644
--- a/shared-core/radeon_drm.h
+++ b/shared-core/radeon_drm.h
@@ -434,8 +434,17 @@ typedef struct {
int pfCurrentPage; /* which buffer is being displayed? */
int crtc2_base; /* CRTC2 frame offset */
int tiling_enabled; /* set by drm, read by 2d + 3d clients */
+
+ unsigned int last_fence;
} drm_radeon_sarea_t;
+/* The only fence class we support */
+#define DRM_RADEON_FENCE_CLASS_ACCEL 0
+/* Fence type that guarantees read-write flush */
+#define DRM_RADEON_FENCE_TYPE_RW 2
+/* cache flushes programmed just before the fence */
+#define DRM_RADEON_FENCE_FLAG_FLUSHED 0x01000000
+
/* WARNING: If you change any of these defines, make sure to change the
* defines in the Xserver file (xf86drmRadeon.h)
*