summaryrefslogtreecommitdiff
path: root/src/r128_driver.c
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-08-02 12:41:31 -0700
committerKevin Brace <kevinbrace@gmx.com>2018-08-02 12:41:31 -0700
commitfb625410051dcf2e0bbd3bbcefe83dbc53f9a33c (patch)
treebe33a13234d6b0766392542ced41c24290cad330 /src/r128_driver.c
parentb395a05428831faf7a0502b52c78c99a8a4d6a8e (diff)
Hold off enabling acceleration until EXA / XAA are fully initialized
The turn on timing is premature. Wait until completion of the initialization process. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src/r128_driver.c')
-rw-r--r--src/r128_driver.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index e9115fb..a280aca 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1343,9 +1343,8 @@ R128PreInitAccel(ScrnInfoPtr pScrn)
"Loading EXA module...\n");
if (LoadSubModule(pScrn->module, "exa", NULL, NULL, NULL,
&info->exaReq, &errmaj, &errmin)) {
- info->accelOn = TRUE;
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
- "EXA acceleration enabled.\n");
+ "Loading EXA module.\n");
} else {
LoaderErrorMsg(NULL, "exa", errmaj, errmin);
}
@@ -1356,9 +1355,8 @@ R128PreInitAccel(ScrnInfoPtr pScrn)
((info->useEXA) && (!info->accelOn))) {
#ifdef HAVE_XAA_H
if (xf86LoadSubModule(pScrn, "xaa")) {
- info->accelOn = TRUE;
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
- "XAA acceleration enabled.\n");
+ "Loading XAA module.\n");
}
#endif
}