diff options
author | Yannick Heneault <yheneaul@matrox.com> | 2008-11-20 23:02:49 -0500 |
---|---|---|
committer | Yannick Heneault <yheneaul@matrox.com> | 2008-11-20 23:02:49 -0500 |
commit | ba376973ae0d25557fdcd920e03474c0e6632e97 (patch) | |
tree | 2c9e70f31c7b43bbad9951b265139dfa991341e3 /src/mga_dacG.c | |
parent | 01e60b391f39f2ebcf2eeb3be2424a2e291ec8ca (diff) |
Fixed PLL m,n,p selection for G200eW to respect byte granularity.
Renamed G200 eW Winbond ID string to Nuvoton.
Added EV suffix to G200 Maxim.
Blocked double scan mode for G200 eW.
Fixed memory bandwidth limitation for G200eW to 318.77 Mhz.
Added a workaround (blit 1x1 with rop=xor) to fix the black screen problem for G200eW.
Diffstat (limited to 'src/mga_dacG.c')
-rw-r--r-- | src/mga_dacG.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c index af5d1d9..a47b6f6 100644 --- a/src/mga_dacG.c +++ b/src/mga_dacG.c @@ -122,12 +122,12 @@ MGAG200IPComputePLLParam(ScrnInfoPtr pScrn, long lFo, int *M, int *N, int *P) if (ulFTmpDelta < ulFDelta) { ulFDelta = ulFTmpDelta; if (pMga->is_G200WB) { - *M = (ulTestM - 1) | (((ulTestN -1) >> 1) & 0x80); + *M = (CARD8)(ulTestM - 1) | (CARD8)(((ulTestN -1) >> 1) & 0x80); } else { *M = ulTestM - 1; } - *N = ulTestN - 1; - *P = ulTestP - 1; + *N = (CARD8)(ulTestN - 1); + *P = (CARD8)(ulTestP - 1); } } } |