[PATCH] Don't disable acceleration on >= SI on attempts to force EXA

Alex Deucher alexdeucher at gmail.com
Thu May 15 08:09:34 PDT 2014


On Thu, May 15, 2014 at 3:10 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Also make this case clear in the log file:
>
>  (WW) RADEON(0): EXA not supported, using glamor
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/radeon_glamor.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
> index 4aea51d..210ddcf 100644
> --- a/src/radeon_glamor.c
> +++ b/src/radeon_glamor.c
> @@ -90,8 +90,13 @@ radeon_glamor_pre_init(ScrnInfoPtr scrn)
>         if (s == NULL && info->ChipFamily < CHIP_FAMILY_TAHITI)
>                 return FALSE;
>
> -       if (s && strcasecmp(s, "glamor") != 0)
> -               return FALSE;
> +       if (s && strcasecmp(s, "glamor") != 0) {
> +               if (info->ChipFamily >= CHIP_FAMILY_TAHITI)
> +                       xf86DrvMsg(scrn->scrnIndex, X_WARNING,
> +                                  "EXA not supported, using glamor\n");
> +               else
> +                       return FALSE;
> +       }
>
>         if (info->ChipFamily < CHIP_FAMILY_R300) {
>                 xf86DrvMsg(scrn->scrnIndex, X_ERROR,
> --
> 2.0.0.rc0
>
> _______________________________________________
> xorg-driver-ati mailing list
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati


More information about the xorg-driver-ati mailing list