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.
This commit is contained in:
parent
1ee3b0193d
commit
f16f729ea1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user