summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-01-25 15:15:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-28 16:49:13 +0000
commit0e879c25dc94bbd7c3fabcf1944de57350f5e68f (patch)
treeb7003e5f43d4ab2deece9c870d3a005251c5f18c /meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch
parent4bda50f28919d62410feabae530e6f7186812938 (diff)
downloadpoky-0e879c25dc94bbd7c3fabcf1944de57350f5e68f.tar.gz
xf86-video-omapfb: upgrade to 044617665d6737f4909aab96
Also apply four patches from Koen to fix four issus: - The tv-out gets added last and the driver tries to reconfigure dvi to TV resolutions, which fails - The new DSS mode breaks XV, so force plain mode - Picture is garbled after switching resolutions - Virtual size too big CC: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch')
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch
new file mode 100644
index 0000000000..506e174cb1
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch
@@ -0,0 +1,25 @@
1commit 05efb061f1945425d214ff6b6050883e6d8633bf
2Author: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed Jan 26 13:21:12 2011 +0100
4
5 blacklist tv out
6
7 The tv-out gets added last and the driver tries to reconfigure dvi to TV resolutions, which fails. so blacklist it
8
9 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
10
11diff --git a/src/omapfb-output-dss.c b/src/omapfb-output-dss.c
12index 6cc52de..83cb711 100644
13--- a/src/omapfb-output-dss.c
14+++ b/src/omapfb-output-dss.c
15@@ -205,6 +205,10 @@ OMAPFBDSSOutputDetect (xf86OutputPtr output)
16 if(ofb->timings[idx][0] == '\0')
17 return XF86OutputStatusDisconnected;
18
19+ // Hack to disable the tv out
20+ if (strncmp(output->name, "tv", 2) == 0)
21+ return XF86OutputStatusDisconnected;
22+
23 return XF86OutputStatusConnected;
24 }
25