diff options
Diffstat (limited to 'src/radeon_dummy_bufmgr.h')
-rw-r--r-- | src/radeon_dummy_bufmgr.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/radeon_dummy_bufmgr.h b/src/radeon_dummy_bufmgr.h deleted file mode 100644 index e08e6569..00000000 --- a/src/radeon_dummy_bufmgr.h +++ /dev/null @@ -1,62 +0,0 @@ - -#ifndef RADEON_DUMMY_BUFMGR_H -#define RADEON_DUMMY_BUFMGR_H -/* when we don't have modesetting but we still need these functions */ - -struct radeon_bo { - int dummy; - void *ptr; -}; - -static inline int radeon_cs_begin(Bool dummy, int d2, const char *file, - const char *func, int line) -{ - return 0; -} - -static inline int radeon_cs_end(Bool dummy, const char *file, - const char *func, int line) -{ - return 0; -} - -static inline void radeon_cs_write_dword(Bool cs, uint32_t dword) -{ -} - -static inline int radeon_cs_write_reloc(Bool cs, - struct radeon_bo *bo, - uint32_t read_domain, - uint32_t write_domain, - uint32_t flags) -{ - return 0; -} - -static inline int radeon_bo_map(struct radeon_bo *bo, int write) {return 0;} -static inline void radeon_bo_ref(struct radeon_bo *bo) {return;} -static inline struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) {return NULL;} -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; -} - -static inline int radeon_cs_space_check(Bool cs) -{ - return 0; -} - -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 |