summaryrefslogtreecommitdiffstats
path: root/extra/xorg-server/autoconfig-nvidia.patch
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-10-25 15:25:44 +0200
committerpiernov <piernov@piernov.org>2011-10-25 15:25:44 +0200
commit258c36577c3b9181032e64828a4ea896fb7a80c8 (patch)
treeff7076eacd8760f7506252b3e7de643bf4532f6c /extra/xorg-server/autoconfig-nvidia.patch
parent46f37425b8727892bda77e59c304bd3ea9a8fe98 (diff)
downloadnutyx-pakxe-258c36577c3b9181032e64828a4ea896fb7a80c8.tar.gz
nutyx-pakxe-258c36577c3b9181032e64828a4ea896fb7a80c8.tar.bz2
nutyx-pakxe-258c36577c3b9181032e64828a4ea896fb7a80c8.tar.xz
nutyx-pakxe-258c36577c3b9181032e64828a4ea896fb7a80c8.zip
xorg-server 1.11.1.901-1 màj port
Diffstat (limited to 'extra/xorg-server/autoconfig-nvidia.patch')
-rw-r--r--extra/xorg-server/autoconfig-nvidia.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/xorg-server/autoconfig-nvidia.patch b/extra/xorg-server/autoconfig-nvidia.patch
new file mode 100644
index 000000000..baa2eb601
--- /dev/null
+++ b/extra/xorg-server/autoconfig-nvidia.patch
@@ -0,0 +1,29 @@
+--- a/hw/xfree86/common/xf86pciBus.c
++++ b/hw/xfree86/common/xf86pciBus.c
+@@ -1123,7 +1123,25 @@ videoPtrToDriverList(struct pci_device *
+ break;
+ case 0x102b: driverList[0] = "mga"; break;
+ case 0x10c8: driverList[0] = "neomagic"; break;
+- case 0x10de: case 0x12d2: driverList[0] = "nv"; break;
++ case 0x10de: case 0x12d2:
++ switch (dev->device_id) {
++ /* NV1 */
++ case 0x0008:
++ case 0x0009:
++ driverList[0] = "vesa";
++ break;
++ /* NV3 */
++ case 0x0018:
++ case 0x0019:
++ driverList[0] = "nv";
++ break;
++ default:
++ driverList[0] = "nouveau";
++ driverList[1] = "nv";
++ driverList[2] = "nvidia";
++ break;
++ }
++ break;
+ case 0x1106: driverList[0] = "openchrome"; break;
+ case 0x1b36: driverList[0] = "qxl"; break;
+ case 0x1163: driverList[0] = "rendition"; break;