Changeset View
Changeset View
Standalone View
Standalone View
x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c
--- src/nv_driver.c.orig 2014-01-19 15:24:45.000000000 -0600 | --- src/nv_driver.c.orig 2012-07-17 06:47:02 UTC | ||||
+++ src/nv_driver.c 2014-01-19 15:24:07.000000000 -0600 | +++ src/nv_driver.c | ||||
@@ -1543,7 +1543,11 @@ | @@ -1543,7 +1543,11 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) | ||||
xf86FreeInt10(pNv->pInt); | xf86FreeInt10(pNv->pInt); | ||||
return FALSE; | return FALSE; | ||||
} | } | ||||
+#ifdef __powerpc__ /* XXX probably MI */ | +#ifdef __powerpc__ /* XXX probably MI */ | ||||
+ vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0); | + vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0); | ||||
+#else | +#else | ||||
vgaHWSetStdFuncs(VGAHWPTR(pScrn)); | vgaHWSetStdFuncs(VGAHWPTR(pScrn)); | ||||
+#endif | +#endif | ||||
/* We use a programmable clock */ | /* We use a programmable clock */ | ||||
pScrn->progClock = TRUE; | pScrn->progClock = TRUE; | ||||
@@ -2550,7 +2554,6 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) | |||||
if (!pNv->NoAccel) | |||||
NVAccelInit(pScreen); | |||||
- miInitializeBackingStore(pScreen); | |||||
xf86SetBackingStore(pScreen); | |||||
xf86SetSilkenMouse(pScreen); | |||||