summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h
blob: 0738839cefbe8fb3140c59274d8c26f2f97cc104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#ifndef INTEL_BUFMGR_TTM_H
#define INTEL_BUFMGR_TTM_H

#include "dri_bufmgr.h"

extern dri_bo *intel_ttm_bo_create_from_handle(dri_bufmgr *bufmgr, const char *name,
					       unsigned int handle);

dri_fence *intel_ttm_fence_create_from_arg(dri_bufmgr *bufmgr, const char *name,
					   drm_fence_arg_t *arg);


dri_bufmgr *intel_bufmgr_ttm_init(int fd, unsigned int fence_type,
				  unsigned int fence_type_flush, int batch_size);

#endif