summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/tegra/fb.c5
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;