[PATCH] Add amdgpu as a default driver for AMD GPUs

Michel Dänzer michel at daenzer.net
Mon Apr 20 20:08:48 PDT 2015


From: Michel Dänzer <michel.daenzer at amd.com>

Its Probe hook bails cleanly when it can't initialize, in which case the
ati driver will be tried next.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 hw/xfree86/common/xf86pciBus.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index e86ecb9..f84bc99 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -1105,7 +1105,8 @@ xf86VideoPtrToDriverList(struct pci_device *dev,
         driverList[0] = "ast";
         break;
     case 0x1002:
-        driverList[0] = "ati";
+        driverList[0] = "amdgpu";
+        driverList[1] = "ati";
         break;
     case 0x102c:
         driverList[0] = "chips";
-- 
2.1.4



More information about the xorg-devel mailing list