diff options
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r-- | src/g80_driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c index e703ea8..0f97a2d 100644 --- a/src/g80_driver.c +++ b/src/g80_driver.c @@ -769,7 +769,7 @@ G80ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) ScrnInfoPtr pScrn; G80Ptr pNv; CARD32 pitch; - int visualMask; + int visualMask, i; BoxRec AvailFBArea; /* First get the ScrnInfoRec */ @@ -829,6 +829,9 @@ G80ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) AvailFBArea.y2 = pNv->offscreenHeight; xf86InitFBManager(pScreen, &AvailFBArea); + for(i = 0; i < 8; i++) + pNv->reg[0x00001900/4 + i] = 0; + if(!pNv->NoAccel) { G80InitHW(pScrn); switch(pNv->AccelMethod) { |