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-virtual-size.patch | |
parent | 4bda50f28919d62410feabae530e6f7186812938 (diff) | |
download | ast2050-yocto-poky-0e879c25dc94bbd7c3fabcf1944de57350f5e68f.zip ast2050-yocto-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-virtual-size.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch new file mode 100644 index 0000000..a3fd0d5 --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch @@ -0,0 +1,23 @@ +commit cbae688d7df59938ccb4af534ec2ff75cbbe9221 +Author: Koen Kooi <koen@dominion.thruhere.net> +Date: Wed Jan 26 13:27:20 2011 +0100 + + Revert "Set virtual size when configuring framebuffer" + + Virtual size too big, so revert it. + + This reverts commit 2653ef07883fbd1a5e7025f9300cf89b79ba429a. + +diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c +index cbeff35..9655db2 100644 +--- a/src/omapfb-crtc.c ++++ b/src/omapfb-crtc.c +@@ -98,8 +98,6 @@ OMAPFBCrtcCommitChangeMode (xf86CrtcPtr crtc) + v = ofb->state_info; + v.xres = mode->HDisplay; + v.yres = mode->VDisplay; +- v.xres_virtual = crtc->scrn->virtualX; +- v.yres_virtual = crtc->scrn->virtualY; + v.activate = FB_ACTIVATE_NOW; + v.pixclock = KHZ2PICOS(mode->Clock ? mode->Clock : 56000); + v.left_margin = mode->HTotal - mode->HSyncEnd; |