diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-24 02:03:54 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-24 02:03:54 +0200 |
commit | da005320cacd196c7db9bb2d0fc4b16ba6efd79f (patch) | |
tree | bbcad7a9b00ccb8579dee50dc2ae5d9bcec361b4 /xorg-server-hwcursor-gamma/autoconfig-nvidia.patch | |
parent | add watch script for qtchess (diff) | |
download | aur-packages-da005320cacd196c7db9bb2d0fc4b16ba6efd79f.tar.gz aur-packages-da005320cacd196c7db9bb2d0fc4b16ba6efd79f.tar.bz2 aur-packages-da005320cacd196c7db9bb2d0fc4b16ba6efd79f.tar.xz |
add xorg-server-hwcursor-gamma
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | xorg-server-hwcursor-gamma/autoconfig-nvidia.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xorg-server-hwcursor-gamma/autoconfig-nvidia.patch b/xorg-server-hwcursor-gamma/autoconfig-nvidia.patch new file mode 100644 index 0000000..6d5220a --- /dev/null +++ b/xorg-server-hwcursor-gamma/autoconfig-nvidia.patch @@ -0,0 +1,28 @@ +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,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; |