~ubuntu-branches/ubuntu/maverick/xorg-server/maverick-security

« back to all changes in this revision

Viewing changes to debian/patches/111_armel-drv-fallbacks.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2010-04-12 14:43:42 UTC
  • Revision ID: james.westby@ubuntu.com-20100412144342-c50ucxe7px7rfgpk
Tags: 2:1.7.6-2ubuntu3
add support for omapfb to 111_armel-drv-fallbacks.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 static void
47
47
 listPossibleVideoDrivers(char *matches[], int nmatches)
48
48
 {
49
 
@@ -544,7 +571,16 @@
 
49
@@ -544,7 +571,18 @@
50
50
 #if !defined(__linux__) && defined(__sparc__)
51
51
        matches[i++] = xnfstrdup("wsfb");
52
52
 #else
53
53
+#if defined(__linux__) && defined(__arm__)
54
54
+        if (test_sysfs_device("mxc_gpu", "imx"))
55
 
+           matches[i++] = xnfstrdup("imx");
 
55
+           matches[i++] = xnfstrdup("imx");
56
56
+        else if (test_sysfs_device("dovefb", "dovefb"))
57
 
+            matches[i++] = xnfstrdup("dovefb");
 
57
+           matches[i++] = xnfstrdup("dovefb");
 
58
+        else if (test_sysfs_device("omapfb", "omapfb"))
 
59
+           matches[i++] = xnfstrdup("omapfb");
58
60
+        else
59
61
+           matches[i++] = xnfstrdup("fbdev");
60
62
+#else