diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-11-23 01:47:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-24 15:12:32 +0000 |
commit | fb403f2952a42d441be432d4bd40257bb3c29bb9 (patch) | |
tree | aff916c696e3d39eea46673d13cfb1420e71a7ad /meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch | |
parent | 957b835f2a159aa293a77a4c947242b8bf89f8aa (diff) | |
download | poky-fb403f2952a42d441be432d4bd40257bb3c29bb9.tar.gz |
xf86-video-omapfb: revive driver which actually works and is tested on real devices
* 0006-omapfb-port-to-new-xserver-video-API.patch added to port it to
new xserver video API
* other patches just updated headers to be able to git am them
(From OE-Core rev: 58e600ae3cc955ebe30b2756540404a267c7cb26)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch new file mode 100644 index 0000000000..9fb01d438a --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 8fb7d0f99d4afbb574b30cb4f1e66a8f89d94ad5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Wed, 26 Jan 2011 12:04:36 +0100 | ||
4 | Subject: [PATCH 1/6] Revert "Set a large CRTC upper limit to not prune larger | ||
5 | resolutions" | ||
6 | |||
7 | Picture is garbled after switching resolutions, so revert it. | ||
8 | Virtual size too big, revert the commit 9c4d7592dcb7dc20a48a6f941d9d94bd73d34153. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | src/omapfb-crtc.c | 8 ++++---- | ||
15 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
16 | |||
17 | diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c | ||
18 | index 9aaa52f..cbeff35 100644 | ||
19 | --- a/src/omapfb-crtc.c | ||
20 | +++ b/src/omapfb-crtc.c | ||
21 | @@ -190,13 +190,13 @@ OMAPFBCRTCInit(ScrnInfoPtr pScrn) | ||
22 | * In practise, this doesn't seem to be supported. | ||
23 | * (no way to setup the overlay offset/base address) | ||
24 | */ | ||
25 | - /* FIXME: figure out what makes sense here. A known max resolution? | ||
26 | - * framebuffer size? | ||
27 | - */ | ||
28 | xf86CrtcSetSizeRange(pScrn, | ||
29 | - 8, 8, 2048, 2048); | ||
30 | + 8, 8, | ||
31 | + ofb->state_info.xres_virtual, | ||
32 | + ofb->state_info.yres_virtual); | ||
33 | |||
34 | ofb->crtc = xf86CrtcCreate(pScrn, &OMAPFBCrtcFuncs); | ||
35 | + | ||
36 | } | ||
37 | |||
38 | |||
39 | -- | ||
40 | 1.8.0 | ||
41 | |||