void-packages/srcpkgs/xorg-server/patches/autoconfig-ati.patch

20 lines
537 B
Diff

Prefer the AMD Catalyst "fglrx" driver if found.
--- a/hw/xfree86/common/xf86pciBus.c 2013-02-07 19:59:55.690518107 +0100
+++ b/hw/xfree86/common/xf86pciBus.c 2013-02-07 20:01:14.832594170 +0100
@@ -1132,8 +1132,13 @@ xf86VideoPtrToDriverList(struct pci_devi
driverList[0] = "ast";
break;
case 0x1002:
- driverList[0] = "ati";
+ {
+ int idx = 0;
+
+ driverList[idx++] = "fglrx";
+ driverList[idx++] = "ati";
break;
+ }
case 0x102c:
driverList[0] = "chips";
break;