diff options
author | Erik Gilling <konkers@android.com> | 2010-10-26 14:25:48 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:36:33 -0800 |
commit | 6c6e07fe5a3529636e9eae798ecb151b67a0afc8 (patch) | |
tree | 9a0e5f233f9ad8ee5e52be2e037e5fd2f910fe7c /include/video/tegrafb.h | |
parent | 0486ddf0a307085d24828cd2328bf5d781ea60f7 (diff) |
video: tegra: add IOCTL for querying modes
Change-Id: Ic312271b96a8bb8d8b2696448d3ff7fd73a7a851
Signed-off-by: Erik Gilling <konkers@android.com>
Diffstat (limited to 'include/video/tegrafb.h')
-rw-r--r-- | include/video/tegrafb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video/tegrafb.h b/include/video/tegrafb.h index 3d7a5a9d66e9..79578c3d7bd4 100644 --- a/include/video/tegrafb.h +++ b/include/video/tegrafb.h @@ -18,6 +18,7 @@ #ifndef _LINUX_TEGRAFB_H_ #define _LINUX_TEGRAFB_H_ +#include <linux/fb.h> #include <linux/types.h> #include <asm/ioctl.h> @@ -77,7 +78,13 @@ struct tegra_fb_flip_args { __u32 post_syncpt_val; }; +struct tegra_fb_modedb { + struct fb_var_screeninfo *modedb; + __u32 modedb_len; +}; + #define FBIO_TEGRA_SET_NVMAP_FD _IOW('F', 0x40, __u32) #define FBIO_TEGRA_FLIP _IOW('F', 0x41, struct tegra_fb_flip_args) +#define FBIO_TEGRA_GET_MODEDB _IOWR('F', 0x42, struct tegra_fb_modedb) #endif |