[PATCH] Add amdgpu as a default driver for AMD GPUs
Aaron Plattner
aplattner at nvidia.com
Tue Apr 21 08:51:56 PDT 2015
Is there any chance you could use the new OutputClass match rules in
/usr/share/X11/xorg.conf.d rather than adding to this list?
On 04/20/2015 08:08 PM, Michel Dänzer wrote:
> 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";
>
More information about the xorg-devel
mailing list