diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-05-15 16:07:53 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2014-05-15 16:07:53 +0900 |
commit | b2dba2906f0b2284f17f53fd5251ba0f03d52a8b (patch) | |
tree | 230e87234a6ad6234e6a20ab6663aec1691b10be /src/radeon_glamor.c | |
parent | be1469cc23aba46daf3293b3d09c5f2e792e7f42 (diff) |
Don't disable acceleration on >= SI on attempts to force EXA
Also make this case clear in the log file:
(WW) RADEON(0): EXA not supported, using glamor
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_glamor.c')
-rw-r--r-- | src/radeon_glamor.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c index 4aea51d4..210ddcf2 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, |