summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/sync_file.h
blob: e8daa6d787705557b7f2b2505ecd8176ef89a7be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Public domain. */

#ifndef _LINUX_SYNC_FILE_H
#define _LINUX_SYNC_FILE_H

#include <linux/dma-fence.h>
#include <linux/ktime.h>

struct sync_file {
};

static inline struct dma_fence *
sync_file_get_fence(int fd)
{
	printf("%s: stub\n", __func__);
	return NULL;
}

static inline struct sync_file *
sync_file_create(struct dma_fence *fence)
{
	printf("%s: stub\n", __func__);
	return NULL;
}

#endif