summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/tegrafb.h
blob: 2985d61822eacf279a4aa4f593eaf87c36bb85c7 (plain)
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
27
28
29
30
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef _LINUX_TEGRAFB_H_
#define _LINUX_TEGRAFB_H_

#include <linux/types.h>
#include <asm/ioctl.h>

struct tegra_fb_flip_args {
 __u32 buff_id;
 __u32 pre_syncpt_id;
 __u32 pre_syncpt_val;
 __u32 post_syncpt_id;
 __u32 post_syncpt_val;
};

#define FBIO_TEGRA_SET_NVMAP_FD _IOW('F', 0x40, __u32)
#define FBIO_TEGRA_FLIP _IOW('F', 0x41, struct tegra_fb_flip_args)

#endif