diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-25 15:15:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-28 16:49:13 +0000 |
commit | 0e879c25dc94bbd7c3fabcf1944de57350f5e68f (patch) | |
tree | b7003e5f43d4ab2deece9c870d3a005251c5f18c /meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch | |
parent | 4bda50f28919d62410feabae530e6f7186812938 (diff) | |
download | poky-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-force-plain-mode.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch new file mode 100644 index 0000000000..201a8b9588 --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | commit d28a36bbadc360a9409bf9832f1d4171d7c33dad | ||
2 | Author: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Wed Jan 26 13:20:20 2011 +0100 | ||
4 | |||
5 | force 'plain' mode | ||
6 | |||
7 | The new DSS mode breaks XV, so force plain mode | ||
8 | |||
9 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
10 | |||
11 | diff --git a/src/omapfb-driver.c b/src/omapfb-driver.c | ||
12 | index 018e040..48aa09c 100644 | ||
13 | --- a/src/omapfb-driver.c | ||
14 | +++ b/src/omapfb-driver.c | ||
15 | @@ -326,7 +326,7 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags) | ||
16 | OMAPFBProbeController(ofb->ctrl_name); | ||
17 | |||
18 | /* Do we have the DSS kernel API? */ | ||
19 | - if (stat(SYSFS_DSS_DIR, &st) == 0) { | ||
20 | + if (0) { //stat(SYSFS_DSS_DIR, &st) == 0) { | ||
21 | ofb->dss = TRUE; | ||
22 | } else { | ||
23 | ofb->dss = FALSE; | ||