glamor: Enable by default on SI

We should now handle its major initialization failure cases gracefully.

Reviewed-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
Michel Dänzer
2013-03-12 19:03:06 +01:00
committed by Michel Dänzer
parent ad1d8874fa
commit 33d8408eec
2 changed files with 4 additions and 2 deletions

View File

@@ -254,6 +254,8 @@ Chooses between available acceleration architectures. Valid values are
and
.B glamor.
The default is
.B glamor
as of TAHITI, otherwise
.B EXA.
.PP

View File

@@ -87,10 +87,10 @@ radeon_glamor_pre_init(ScrnInfoPtr scrn)
return FALSE;
s = xf86GetOptValString(info->Options, OPTION_ACCELMETHOD);
if (s == NULL)
if (s == NULL && info->ChipFamily < CHIP_FAMILY_TAHITI)
return FALSE;
if (strcasecmp(s, "glamor") != 0)
if (s && strcasecmp(s, "glamor") != 0)
return FALSE;
if (!xf86LoaderCheckSymbol("glamor_egl_init")) {