PKGBUILDs/alarm/xf86-video-omapfb/0003-force-plain-mode.patch

32 lines
888 B
Diff
Raw Normal View History

2015-02-15 18:59:40 +00:00
From 8c154297978f1e79875f314647c3461d15353e9a Mon Sep 17 00:00:00 2001
2013-06-19 18:55:37 +00:00
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 26 Jan 2011 13:20:20 +0100
2015-02-15 18:59:40 +00:00
Subject: [PATCH 3/7] force 'plain' mode
2013-06-19 18:55:37 +00:00
The new DSS mode breaks XV, so force plain mode
Upstream-Status: Pending
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/omapfb-driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/omapfb-driver.c b/src/omapfb-driver.c
index 018e040..48aa09c 100644
--- a/src/omapfb-driver.c
+++ b/src/omapfb-driver.c
@@ -326,7 +326,7 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags)
OMAPFBProbeController(ofb->ctrl_name);
/* Do we have the DSS kernel API? */
- if (stat(SYSFS_DSS_DIR, &st) == 0) {
+ if (0) { //stat(SYSFS_DSS_DIR, &st) == 0) {
ofb->dss = TRUE;
} else {
ofb->dss = FALSE;
--
2015-02-15 18:59:40 +00:00
2.3.0
2013-06-19 18:55:37 +00:00