diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-01-07 10:40:38 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-01-07 12:58:17 +0100 |
commit | 00e20f436170fd58b742342b3032362f9ed476cf (patch) | |
tree | db8e095ae0a639cb0111b24608e5cb1ef5080870 /arch | |
parent | 3c670e0d0f37734ea75da9a62fa1fa9cb29df692 (diff) |
tegra: video: use modedb to specify framebuffer resolution
Allow to specify framebufffer videomode using kernel command line
parameters. NVIDIAs binary X driver later on picks up those settings
and start X with current mode settings, if no EDID data are available.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index d22a58f22a60..784988223a76 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -550,6 +550,8 @@ bool tegra_dc_is_within_n_vsync(struct tegra_dc *dc, s64 ts); bool tegra_dc_does_vsync_separate(struct tegra_dc *dc, s64 new_ts, s64 old_ts); #endif /* !CONFIG_ANDROID */ +int tegra_dc_var_to_dc_mode(struct tegra_dc *dc, struct fb_var_screeninfo *var, + struct tegra_dc_mode *mode); int tegra_dc_set_mode(struct tegra_dc *dc, const struct tegra_dc_mode *mode); struct fb_videomode; int tegra_dc_set_fb_mode(struct tegra_dc *dc, const struct fb_videomode *fbmode, |