From b59c4fb77a2c561e8da482ecc94ca73426c16755 Mon Sep 17 00:00:00 2001 From: Erik Gilling Date: Tue, 7 Sep 2010 17:46:59 -0700 Subject: [PATCH] add tegrafb.h Change-Id: If86b82253915196c2962e04286b9ac7ea400c193 --- include/video/tegrafb.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/video/tegrafb.h diff --git a/include/video/tegrafb.h b/include/video/tegrafb.h new file mode 100644 index 000000000000..cb040ae5f329 --- /dev/null +++ b/include/video/tegrafb.h @@ -0,0 +1,35 @@ +/* + * include/video/tegrafb.h + * + * Copyright (C) 2010 Google, Inc. + * Author: Erik Gilling + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _LINUX_TEGRAFB_H_ +#define _LINUX_TEGRAFB_H_ + +#include +#include + +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 -- 2.34.1