summaryrefslogtreecommitdiff
path: root/src/radeon_dummy_bufmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_dummy_bufmgr.h')
-rw-r--r--src/radeon_dummy_bufmgr.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/src/radeon_dummy_bufmgr.h b/src/radeon_dummy_bufmgr.h
index bf89292c..b3ff9910 100644
--- a/src/radeon_dummy_bufmgr.h
+++ b/src/radeon_dummy_bufmgr.h
@@ -39,19 +39,24 @@ static inline struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) {return NU
static inline void radeon_bo_unmap(struct radeon_bo *bo) {return;}
static inline int radeon_bo_wait(struct radeon_bo *bo) {return 0;}
+static inline int radeon_cs_space_add_persistent_bo(Bool cs, struct radeon_bo *bo,
+ uint32_t read_domains, uint32_t write_domain)
+{
+ return 0;
+}
-struct radeon_cs_space_check {
- struct radeon_bo *bo;
- int read_domains;
- int write_domain;
- int new_accounted;
-};
-
-static inline int radeon_cs_space_check(Bool cs, struct radeon_cs_space_check *bos, int num)
+static inline int radeon_cs_space_check(Bool cs)
{
return 0;
}
-#define RADEON_CS_SPACE_OP_TO_BIG 0
-#define RADEON_CS_SPACE_FLUSH 1
+
+static inline void radeon_cs_flush_indirect(ScrnInfoPtr pScrn)
+{
+}
+
+static inline void radeon_ddx_cs_start(ScrnInfoPtr pScrn, int n,
+ const char *file, const char *func, int line);
+{
+}
#endif