diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
commit | fcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch) | |
tree | 2634d6d68316f3f4dd51f378e826da884a919288 /libre/xorg-server/autoconfig-nvidia-libre.patch | |
parent | c5822ca785d156da9849d5e25dc79a93d1fac22d (diff) |
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/xorg-server/autoconfig-nvidia-libre.patch')
-rw-r--r-- | libre/xorg-server/autoconfig-nvidia-libre.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/xorg-server/autoconfig-nvidia-libre.patch b/libre/xorg-server/autoconfig-nvidia-libre.patch new file mode 100644 index 000000000..688b495e1 --- /dev/null +++ b/libre/xorg-server/autoconfig-nvidia-libre.patch @@ -0,0 +1,26 @@ +diff -Nur xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c +--- xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c 2012-02-10 10:10:37.583014924 +0000 ++++ xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c 2012-02-10 11:16:07.148971317 +0000 +@@ -1144,7 +1144,21 @@ + int idx = 0; + + #ifdef __linux__ +- driverList[idx++] = "nouveau"; ++ switch (dev->device_id) ++ { ++ /* NV1 - Diamond Edge 3D */ ++ case 0x0008: ++ case 0x0009: ++ driverList[idx++] = "vesa"; ++ break; ++ /* NV3 - Riva 128 */ ++ case 0x0018: ++ driverList[idx++] = "nv"; ++ break; ++ default: ++ driverList[idx++] = "nouveau"; ++ break; ++ } + #endif + driverList[idx++] = "nv"; + break; |