Commit f16f729e authored by Brent Cook Cook's avatar Brent Cook Cook
Browse files

Some little debugging additions; this works well with my NM2200 when

    acceleration is turned off in fbdev mode, but hangs when acceleration
    is on. Will merge this with HEAD and debug from there, since backend
    seems in good shape.
parent 1ee3b019
......@@ -22,6 +22,7 @@ backendInitialize(KdCardInfo *card, BackendCard *backend)
#ifdef KDRIVEFBDEV
if (!success && fbdevInitialize(card, &backend->priv.fbdev)) {
success = TRUE;
ErrorF("Using fbdev backend\n");
backend->type = FBDEV;
backend->cardfini = fbdevCardFini;
backend->scrfini = fbdevScreenFini;
......@@ -40,6 +41,7 @@ backendInitialize(KdCardInfo *card, BackendCard *backend)
#ifdef KDRIVEVESA
if (!success && vesaInitialize(card, &backend->priv.vesa)) {
success = TRUE;
ErrorF("Using vesa backend\n");
backend->type = VESA;
backend->cardfini = vesaCardFini;
backend->scrfini = vesaScreenFini;
......
......@@ -100,6 +100,8 @@ neoScreenInit(KdScreenInfo *screen)
return FALSE;
}
screen->driver = neos;
if(!backendScreenInitialize(screen, &neos->backendScreen, &neoc->backendCard)) {
xfree(neos);
return FALSE;
......@@ -136,8 +138,6 @@ neoScreenInit(KdScreenInfo *screen)
neos->off_screen_size = 0;
}
screen->driver = neos;
LEAVE();
return TRUE;
}
......@@ -149,8 +149,8 @@ neoInitScreen(ScreenPtr pScreen)
KdScreenPriv(pScreen);
neoCardInfo(pScreenPriv);
return neoc->backendCard.initScreen(pScreen);
LEAVE();
return neoc->backendCard.initScreen(pScreen);
}
static Bool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment