mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
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
2 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue