diff options
-rw-r--r-- | src/mga_g450pll.c | 5 | ||||
-rw-r--r-- | src/mga_reg.h | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mga_g450pll.c b/src/mga_g450pll.c index 69f0497..7407d14 100644 --- a/src/mga_g450pll.c +++ b/src/mga_g450pll.c @@ -274,11 +274,10 @@ static CARD32 G450IsPllLocked(ScrnInfoPtr pScrn, Bool *lpbLocked) MGAPtr pMga = MGAPTR(pScrn); - /* Pixel PLL */ if (!pMga->SecondCrtc) - OUTREG8(0x3c00, 0x4f); /* Pixel PLL */ + OUTREG8(0x3c00, MGA1064_PIX_PLL_STAT); else - OUTREG8(0x3c00, 0x8c); /* Video PLL */ + OUTREG8(0x3c00, MGA1064_VID_PLL_STAT); ulFallBackCounter = 0; diff --git a/src/mga_reg.h b/src/mga_reg.h index 93421d1..020bb0d 100644 --- a/src/mga_reg.h +++ b/src/mga_reg.h @@ -403,6 +403,7 @@ /*Added for G450 dual head*/ +#define MGA1064_VID_PLL_STAT 0x8c #define MGA1064_VID_PLL_P 0x8D #define MGA1064_VID_PLL_M 0x8E #define MGA1064_VID_PLL_N 0x8F |