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

Alex Deucher alexdeucher at gmail.com
Mon Apr 20 22:16:32 PDT 2015


On Mon, Apr 20, 2015 at 11:08 PM, Michel Dänzer <michel at daenzer.net> 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>

Reviewed-by: Alex Deucher <alexander.deucher 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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list