summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-09-09 18:06:12 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-09-09 18:12:01 +0200
commit35412b809534b5fe6572b6c14949594b8053bc84 (patch)
tree2e0484a9dff0dd5e1aa06daf59a41c0cfb312430 /drivers
parent4ab1bd1ed132fce3b003a21d73c5f3b91118b2a6 (diff)
apalis/colibri_t30: fix HDMI hang issue
Initialisation of the framebuffer console on DVI-D aka HDMI always failed on monitors which report the vertical front porch to be 1 in their EDID. The fix now changes also the modedb and not only the list of videomodes with a compatible timing. This was particularly bad on Apalis T30 where this is activated by default. On Colibri T30 this was observed when enabling it using the fbcon=map:1 boot argument.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/fb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c
index cf836dd59ab5..f14ffb46b2dd 100644
--- a/drivers/video/tegra/fb.c
+++ b/drivers/video/tegra/fb.c
@@ -537,13 +537,11 @@ void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info,
/* Prepare a mode db */
for (i = 0; i < specs->modedb_len; i++) {
if (info->fbops->fb_check_var) {
- struct fb_videomode m;
-
/* Call mode filter to check mode */
fb_videomode_to_var(&var, &specs->modedb[i]);
if (!(info->fbops->fb_check_var(&var, info))) {
- fb_var_to_videomode(&m, &var);
- fb_add_videomode(&m,
+ fb_var_to_videomode(&specs->modedb[i], &var);
+ fb_add_videomode(&specs->modedb[i],
&fb_info->info->modelist);
/* EDID stds recommend first detailed mode
to be applied as default,but if first mode