summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/Makefile.am1
-rw-r--r--shared-core/radeon_ms_drm.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/shared-core/Makefile.am b/shared-core/Makefile.am
index 7193e527..42e08e75 100644
--- a/shared-core/Makefile.am
+++ b/shared-core/Makefile.am
@@ -32,6 +32,7 @@ klibdrminclude_HEADERS = \
nouveau_drm.h \
r128_drm.h \
radeon_drm.h \
+ radeon_ms_drm.h \
savage_drm.h \
sis_drm.h \
via_drm.h \
diff --git a/shared-core/radeon_ms_drm.h b/shared-core/radeon_ms_drm.h
index 842d5331..7186030c 100644
--- a/shared-core/radeon_ms_drm.h
+++ b/shared-core/radeon_ms_drm.h
@@ -57,4 +57,12 @@ struct drm_radeon_execbuffer {
struct drm_fence_arg fence_arg;
};
+#define RADEON_MS_MAX_SAREA_CLIPRECTS 16
+
+struct drm_radeon_ms_sarea {
+ /* the cliprects */
+ struct drm_clip_rect boxes[RADEON_MS_MAX_SAREA_CLIPRECTS];
+ unsigned int nbox;
+};
+
#endif