diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-07-03 14:03:59 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-07-03 14:03:59 -0700 |
commit | bc439899f323410b0549068cd88348e7fb62866b (patch) | |
tree | 08420ef9b8e1793e0af348ae500ebc40cfe0d4c2 | |
parent | 0f93ad0e2af26b4e2381f337b58d3a5e50302664 (diff) |
Put the GPU into don't corrupt the framebuffer mode to work around MacBook wackiness.
-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) { |