diff options
Diffstat (limited to 'recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch')
-rw-r--r-- | recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch b/recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch new file mode 100644 index 0000000..99d7f0c --- /dev/null +++ b/recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | This fixes problems with DVI monitors connected to the HDMI port | ||
2 | via a DVI <-> HDMI cable. With dvi monitors, the list of CEA modes | ||
3 | is always zero, preventing modes higher than 1024x768 to be used. | ||
4 | This patch disables the CEA mode check. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c | ||
9 | index 544f352..fa67128 100644 | ||
10 | --- a/drivers/video/mxc_hdmi.c | ||
11 | +++ b/drivers/video/mxc_hdmi.c | ||
12 | @@ -1804,10 +1804,10 @@ static void mxc_hdmi_edid_rebuild_modelist(struct mxc_hdmi *hdmi) | ||
13 | */ | ||
14 | mode = &hdmi->fbi->monspecs.modedb[i]; | ||
15 | |||
16 | - if (!(mode->vmode & FB_VMODE_INTERLACED) && | ||
17 | - (mxc_edid_mode_to_vic(mode) != 0)) { | ||
18 | + if (!(mode->vmode & FB_VMODE_INTERLACED)) { | ||
19 | + int vic = mxc_edid_mode_to_vic(mode); | ||
20 | |||
21 | - dev_dbg(&hdmi->pdev->dev, "Added mode %d:", i); | ||
22 | + dev_dbg(&hdmi->pdev->dev, "%s: Added mode %d(VIC %u):", __func__, i, vic); | ||
23 | dev_dbg(&hdmi->pdev->dev, | ||
24 | "xres = %d, yres = %d, freq = %d, vmode = %d, flag = %d\n", | ||
25 | hdmi->fbi->monspecs.modedb[i].xres, | ||