xorg-server: autoconfig fglrx (if found) on AMD/ATI GPUs.

This commit is contained in:
Juan RP 2013-02-07 20:03:41 +01:00
parent 7e634744a0
commit 8769380f93
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Prefer the AMD Catalyst "fglrx" driver if found.
--- hw/xfree86/common/xf86pciBus.c.orig 2013-02-07 19:59:55.690518107 +0100
+++ 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;

View File

@ -1,7 +1,7 @@
# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.13.2
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb