From: Erik Gilling Date: Wed, 8 Sep 2010 00:46:59 +0000 (-0700) Subject: add tegrafb.h X-Git-Tag: firefly_0821_release~9834^2~617 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b59c4fb77a2c561e8da482ecc94ca73426c16755;p=firefly-linux-kernel-4.4.55.git add tegrafb.h Change-Id: If86b82253915196c2962e04286b9ac7ea400c193 --- 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