diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2013-06-24 14:36:07 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-06-24 14:36:07 +0200 |
commit | 61a50f833622ce901054b32c332c4e168ced4c98 (patch) | |
tree | e989adad6fd3580301c6e60980549cb15505e403 /drivers/video | |
parent | f2af41568dfd412e16a2f1258363872a07e25a96 (diff) | |
parent | 620823e2f6a11e2e8eb417b54fb4599cbc0e4707 (diff) |
Merge branch 'colibri' of git.toradex.com:linux-toradex into colibriT30_LinuxImageV2.0Beta2_20130626Apalis_T30_LinuxImageV2.0Beta1_20130626
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/tegra/fb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c index f69048f62cc2..cf836dd59ab5 100644 --- a/drivers/video/tegra/fb.c +++ b/drivers/video/tegra/fb.c @@ -143,6 +143,11 @@ static int tegra_fb_set_par(struct fb_info *info) fb_var_to_videomode(&m, var); +#if defined(CONFIG_MACH_APALIS_T30) || defined(CONFIG_MACH_COLIBRI_T30) + /* Hack: avoid 24 Hz mode in X resulting in no display at all */ + if (m.refresh < 50) m.refresh = 60; +#endif /* CONFIG_MACH_APALIS_T30 | CONFIG_MACH_COLIBRI_T30 */ + /* Load framebuffer info with new mode details*/ old_mode = info->mode; old_len = info->fix.line_length; |