diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2013-03-12 19:03:06 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2013-03-25 18:20:37 +0100 |
commit | 33d8408eec806355c2e55726679ec50ef3b769f1 (patch) | |
tree | e345ba7d1c71dec7c2068c25d51cff6d2bcc92b2 /src/radeon_glamor.c | |
parent | ad1d8874fab30257ba8ec8bee8ffa42a8fa9b5c0 (diff) |
glamor: Enable by default on SI
We should now handle its major initialization failure cases gracefully.
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/radeon_glamor.c')
-rw-r--r-- | src/radeon_glamor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c index faee5eee..7bca67c5 100644 --- a/src/radeon_glamor.c +++ b/src/radeon_glamor.c @@ -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")) { |