diff options
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr.c b/src/mesa/drivers/dri/common/dri_bufmgr.c index 18b12c63f72..8413a51577c 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr.c +++ b/src/mesa/drivers/dri/common/dri_bufmgr.c @@ -25,6 +25,9 @@ * */ +#include <string.h> +#include <stdlib.h> +#include <assert.h> #include "mtypes.h" #include "dri_bufmgr.h" diff --git a/src/mesa/drivers/dri/common/dri_bufmgr.h b/src/mesa/drivers/dri/common/dri_bufmgr.h index 36340d4d57d..08cf8ca3e15 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr.h +++ b/src/mesa/drivers/dri/common/dri_bufmgr.h @@ -197,9 +197,6 @@ void dri_bo_subdata(dri_bo *bo, unsigned long offset, void dri_bo_get_subdata(dri_bo *bo, unsigned long offset, unsigned long size, void *data); -dri_bufmgr *dri_bufmgr_ttm_init(int fd, unsigned int fence_type, - unsigned int fence_type_flush); - void dri_bufmgr_fake_contended_lock_take(dri_bufmgr *bufmgr); dri_bufmgr *dri_bufmgr_fake_init(unsigned long low_offset, void *low_virtual, unsigned long size, @@ -213,8 +210,6 @@ void dri_bo_fake_disable_backing_store(dri_bo *bo, void *ptr), void *ptr); void dri_bufmgr_destroy(dri_bufmgr *bufmgr); -dri_bo *dri_ttm_bo_create_from_handle(dri_bufmgr *bufmgr, const char *name, - unsigned int handle); void dri_emit_reloc(dri_bo *reloc_buf, uint64_t flags, GLuint delta, GLuint offset, dri_bo *target_buf); |