Comment 21 for bug 189844

Revision history for this message
In , RichardBronosky (brunosjunk) wrote :

Based on my instructions here I have been contacted by several PPC users. I would like to see the patch below committed. If at all possible, I'd like to do the commit myself. I've put a lot of time and learning into supporting this and would like to get my name in the tree.

diff --git a/src/nv_dac.c b/src/nv_dac.c
index b6df107..1e7fcb7 100644
--- a/src/nv_dac.c
+++ b/src/nv_dac.c
@@ -114,8 +114,10 @@ NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
        horizStart = horizTotal - 5;
        horizEnd = horizTotal - 2;
        horizBlankEnd = horizTotal + 4;
+#if !defined(__powerpc__)
        if(pNv->Architecture == NV_ARCH_30)
            horizTotal += 2;
+#endif
     }

     pVga->CRTC[0x0] = NV_Set8Bits(horizTotal);