diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-01 00:29:57 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-01 00:29:57 -0300 |
commit | 01f574d3db4fb3b74bc43b1c8743c886ea203c6f (patch) | |
tree | 820d73f6a95ab839fff2ae5cd0c4c9d9923815b2 /libre/xorg-server-libre/autoconfig-nvidia-libre.patch | |
parent | 749931b987f1e81d31c14e18c43081f44b5a2bca (diff) | |
download | abslibre-01f574d3db4fb3b74bc43b1c8743c886ea203c6f.tar.gz abslibre-01f574d3db4fb3b74bc43b1c8743c886ea203c6f.tar.bz2 abslibre-01f574d3db4fb3b74bc43b1c8743c886ea203c6f.zip |
rebuild xorg-server-libre
Diffstat (limited to 'libre/xorg-server-libre/autoconfig-nvidia-libre.patch')
-rw-r--r-- | libre/xorg-server-libre/autoconfig-nvidia-libre.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/xorg-server-libre/autoconfig-nvidia-libre.patch b/libre/xorg-server-libre/autoconfig-nvidia-libre.patch new file mode 100644 index 000000000..688b495e1 --- /dev/null +++ b/libre/xorg-server-libre/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; |