mirror of
https://github.com/X11Libre/xf86-video-r128.git
synced 2026-03-24 01:24:26 +00:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user