summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-cubox-i-3.0.35/mxc_hdmi-dont-require-cea-mode.patch
diff options
context:
space:
mode:
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.patch25
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 @@
1This fixes problems with DVI monitors connected to the HDMI port
2via a DVI <-> HDMI cable. With dvi monitors, the list of CEA modes
3is always zero, preventing modes higher than 1024x768 to be used.
4This patch disables the CEA mode check.
5
6Upstream-Status: Pending
7
8diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c
9index 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,