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

Michel Dänzer michel at daenzer.net
Thu May 15 00:10:38 PDT 2014


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>
---
 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



More information about the xorg-driver-ati mailing list