You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
560 B
31 lines
560 B
7 years ago
|
/* Sync file Linux kernel UAPI */
|
||
|
|
||
6 years ago
|
#ifndef WESTON_LINUX_SYNC_FILE_UAPI_H
|
||
|
#define WESTON_LINUX_SYNC_FILE_UAPI_H
|
||
7 years ago
|
|
||
|
#include <linux/ioctl.h>
|
||
|
#include <linux/types.h>
|
||
|
|
||
|
struct sync_fence_info {
|
||
|
char obj_name[32];
|
||
|
char driver_name[32];
|
||
|
__s32 status;
|
||
|
__u32 flags;
|
||
|
__u64 timestamp_ns;
|
||
|
};
|
||
|
|
||
|
struct sync_file_info {
|
||
|
char name[32];
|
||
|
__s32 status;
|
||
|
__u32 flags;
|
||
|
__u32 num_fences;
|
||
|
__u32 pad;
|
||
|
|
||
|
__u64 sync_fence_info;
|
||
|
};
|
||
|
|
||
|
#define SYNC_IOC_MAGIC '>'
|
||
|
#define SYNC_IOC_FILE_INFO _IOWR(SYNC_IOC_MAGIC, 4, struct sync_file_info)
|
||
|
|
||
6 years ago
|
#endif /* WESTON_LINUX_SYNC_FILE_UAPI_H */
|