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-revert-set-CRTC-limit.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-revert-set-CRTC-limit.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch new file mode 100644 index 0000000000..6a9e9058b9 --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | commit 031516123d25a12808ab4e56ea8deda74946cdcd | ||
2 | Author: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Wed Jan 26 12:04:36 2011 +0100 | ||
4 | |||
5 | Revert "Set a large CRTC upper limit to not prune larger resolutions" | ||
6 | |||
7 | Picture is garbled after switching resolutions, so revert it. | ||
8 | |||
9 | Virtual size too big, revert the commit 9c4d7592dcb7dc20a48a6f941d9d94bd73d34153. | ||
10 | |||
11 | diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c | ||
12 | index 9aaa52f..cbeff35 100644 | ||
13 | --- a/src/omapfb-crtc.c | ||
14 | +++ b/src/omapfb-crtc.c | ||
15 | @@ -190,13 +190,13 @@ OMAPFBCRTCInit(ScrnInfoPtr pScrn) | ||
16 | * In practise, this doesn't seem to be supported. | ||
17 | * (no way to setup the overlay offset/base address) | ||
18 | */ | ||
19 | - /* FIXME: figure out what makes sense here. A known max resolution? | ||
20 | - * framebuffer size? | ||
21 | - */ | ||
22 | xf86CrtcSetSizeRange(pScrn, | ||
23 | - 8, 8, 2048, 2048); | ||
24 | + 8, 8, | ||
25 | + ofb->state_info.xres_virtual, | ||
26 | + ofb->state_info.yres_virtual); | ||
27 | |||
28 | ofb->crtc = xf86CrtcCreate(pScrn, &OMAPFBCrtcFuncs); | ||
29 | + | ||
30 | } | ||
31 | |||
32 | |||