summaryrefslogtreecommitdiff
path: root/recipes/xorg-driver
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-03 16:38:34 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-04 10:12:24 +0100
commit7e384693bd5c3069cf189a6e50ef42e5cbea3b61 (patch)
treea585c8e15155c26de7efacde38e54d38c263e1dd /recipes/xorg-driver
parent5c9bd883424f60ca04db41424794ec6db7b5edbc (diff)
xf86-video-omapfb: tweak patch
Diffstat (limited to 'recipes/xorg-driver')
-rw-r--r--recipes/xorg-driver/xf86-video-omapfb/0001-omapfb-driver-hack-out-dpms-for-xorg-1.7.x.patch26
-rw-r--r--recipes/xorg-driver/xf86-video-omapfb_git.bb2
2 files changed, 20 insertions, 8 deletions
diff --git a/recipes/xorg-driver/xf86-video-omapfb/0001-omapfb-driver-hack-out-dpms-for-xorg-1.7.x.patch b/recipes/xorg-driver/xf86-video-omapfb/0001-omapfb-driver-hack-out-dpms-for-xorg-1.7.x.patch
index 509d34c6e9..0786539061 100644
--- a/recipes/xorg-driver/xf86-video-omapfb/0001-omapfb-driver-hack-out-dpms-for-xorg-1.7.x.patch
+++ b/recipes/xorg-driver/xf86-video-omapfb/0001-omapfb-driver-hack-out-dpms-for-xorg-1.7.x.patch
@@ -1,14 +1,14 @@
-From a0c063716101ec93dcad30028ba41489926050c9 Mon Sep 17 00:00:00 2001
+From 8dba6751950f65292c5f8a562e282045e9fe0803 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Tue, 22 Dec 2009 21:35:00 +0100
Subject: [PATCH 1/2] omapfb-driver: hack out dpms for xorg 1.7.x
---
- src/omapfb-driver.c | 39 ---------------------------------------
- 1 files changed, 0 insertions(+), 39 deletions(-)
+ src/omapfb-driver.c | 41 -----------------------------------------
+ 1 files changed, 0 insertions(+), 41 deletions(-)
diff --git a/src/omapfb-driver.c b/src/omapfb-driver.c
-index a9d5fbc..36a0d53 100644
+index a9d5fbc..ffa0df4 100644
--- a/src/omapfb-driver.c
+++ b/src/omapfb-driver.c
@@ -41,9 +41,6 @@
@@ -21,7 +21,15 @@ index a9d5fbc..36a0d53 100644
#include <linux/fb.h>
/* TODO: we'd like this to come from kernel headers, but that's not a good
-@@ -580,9 +577,6 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+@@ -502,7 +499,6 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+
+ /* Load the fallback module */
+ xf86LoadSubModule(pScrn, "fb");
+- xf86LoaderReqSymLists(fbSymbols, NULL);
+
+ /* Initialize fallbacks for the screen */
+ if (!fbScreenInit(pScreen, ofb->fb, pScrn->virtualX,
+@@ -580,13 +576,9 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
/* NO-OP currently */
pScreen->SaveScreen = OMAPFBSaveScreen;
@@ -31,7 +39,11 @@ index a9d5fbc..36a0d53 100644
#ifdef USE_EXA
/* EXA init */
xf86LoadSubModule(pScrn, "exa");
-@@ -723,38 +717,6 @@ static Bool OMAPFBSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
+- xf86LoaderReqSymLists(exaSymbols, NULL);
+
+ /* TODO: This should depend on the AccelMethod option */
+ ofb->exa = exaDriverAlloc();
+@@ -723,38 +715,6 @@ static Bool OMAPFBSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
return TRUE;
}
@@ -70,7 +82,7 @@ index a9d5fbc..36a0d53 100644
void
OMAPFBPrintCapabilities(ScrnInfoPtr pScrn,
struct omapfb_caps *caps,
-@@ -879,7 +841,6 @@ OMAPFBSetup(pointer module, pointer opts, int *errmaj, int *errmin)
+@@ -879,7 +839,6 @@ OMAPFBSetup(pointer module, pointer opts, int *errmaj, int *errmin)
if (!setupDone) {
setupDone = TRUE;
xf86AddDriver(&OMAPFB, module, HaveDriverFuncs);
diff --git a/recipes/xorg-driver/xf86-video-omapfb_git.bb b/recipes/xorg-driver/xf86-video-omapfb_git.bb
index 8eb5c9f65b..609693a77e 100644
--- a/recipes/xorg-driver/xf86-video-omapfb_git.bb
+++ b/recipes/xorg-driver/xf86-video-omapfb_git.bb
@@ -2,7 +2,7 @@ require xorg-driver-video.inc
DESCRIPTION = "X.Org X server -- OMAP display driver"
-PR_append = "b"
+PR_append = "c"
SRCREV = "5317aae587a2bf48f07a8c06bfaf7bcbfd23bafc"
PV = "0.1.1+${PR}+gitr${SRCREV}"