xf86-video-nv: src/g80_driver.c
Aaron Plattner
aplattner at kemper.freedesktop.org
Tue Jul 3 15:52:09 PDT 2007
src/g80_driver.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
New commits:
diff-tree bc439899f323410b0549068cd88348e7fb62866b (from 0f93ad0e2af26b4e2381f337b58d3a5e50302664)
Author: Aaron Plattner <aplattner at nvidia.com>
Date: Tue Jul 3 14:03:59 2007 -0700
Put the GPU into don't corrupt the framebuffer mode to work around MacBook wackiness.
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 p
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 p
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) {
More information about the xorg-commit
mailing list