diff options
author | root <root@rshg054.dnsready.net> | 2012-02-04 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-04 23:14:50 +0000 |
commit | cdc66cc7110e78bf1197f9effc70422114f9341b (patch) | |
tree | 26d88200b6a071ffe8e21b7022be19ade43d52e5 /staging/xorg-server/autoconfig-nvidia.patch | |
parent | de078a89b9e3a45b6b2e3f0c9d866962e5125ba3 (diff) |
Sat Feb 4 23:14:50 UTC 2012
Diffstat (limited to 'staging/xorg-server/autoconfig-nvidia.patch')
-rw-r--r-- | staging/xorg-server/autoconfig-nvidia.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/staging/xorg-server/autoconfig-nvidia.patch b/staging/xorg-server/autoconfig-nvidia.patch new file mode 100644 index 000000000..baa2eb601 --- /dev/null +++ b/staging/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; |