diff options
author | piernov <piernov@piernov.org> | 2012-03-06 13:27:32 +0000 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-03-06 13:27:32 +0000 |
commit | f81a61313bc01ac80111882db74fd59216d777af (patch) | |
tree | 6af17da362e18b20f5214146869e441d0152e17b /xorg-server/autoconfig-nvidia.patch | |
parent | 906ae0a94e98f968b621c244b16873bb2b84d1d6 (diff) | |
download | nutyx-extra-f81a61313bc01ac80111882db74fd59216d777af.tar.gz nutyx-extra-f81a61313bc01ac80111882db74fd59216d777af.tar.bz2 nutyx-extra-f81a61313bc01ac80111882db74fd59216d777af.tar.xz nutyx-extra-f81a61313bc01ac80111882db74fd59216d777af.zip |
xorg-server 1.12.0-1 màj port
Diffstat (limited to 'xorg-server/autoconfig-nvidia.patch')
-rw-r--r-- | xorg-server/autoconfig-nvidia.patch | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/xorg-server/autoconfig-nvidia.patch b/xorg-server/autoconfig-nvidia.patch index baa2eb601..b900bf228 100644 --- a/xorg-server/autoconfig-nvidia.patch +++ b/xorg-server/autoconfig-nvidia.patch @@ -1,29 +1,28 @@ ---- a/hw/xfree86/common/xf86pciBus.c -+++ b/hw/xfree86/common/xf86pciBus.c -@@ -1123,7 +1123,25 @@ videoPtrToDriverList(struct pci_device * +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 +@@ -1111,7 +1111,23 @@ + { + int idx = 0; + #ifdef __linux__ +- driverList[idx++] = "nouveau"; ++ switch (dev->device_id) ++ { ++ /* NV1 */ ++ case 0x0008: ++ case 0x0009: ++ driverList[idx++] = "vesa"; ++ break; ++ /* NV3 */ ++ case 0x0018: ++ case 0x0019: ++ driverList[idx++] = "nouveau"; ++ break; ++ default: ++ driverList[idx++] = "nouveau"; ++ driverList[idx++] = "nvidia"; ++ break; ++ } + #endif + driverList[idx++] = "nv"; 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; |