/* * include/video/tegrafb.h * * Copyright (C) 2010 Google, Inc. * Author: Erik Gilling * * Copyright (c) 2014 NVIDIA CORPORATION. All rights reserved. * * 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 #include #if defined(__KERNEL__) #include #endif struct tegra_fb_modedb { struct fb_var_screeninfo *modedb; __u32 modedb_len; }; #ifdef CONFIG_COMPAT struct tegra_fb_modedb_compat { __u32 modedb; __u32 modedb_len; }; #define FBIO_TEGRA_GET_MODEDB_COMPAT \ _IOWR('F', 0x42, struct tegra_fb_modedb_compat) #endif #define FBIO_TEGRA_GET_MODEDB _IOWR('F', 0x42, struct tegra_fb_modedb) #endif