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

#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);

void
intel_ttm_enable_bo_reuse(dri_bufmgr *bufmgr);

#endif