summaryrefslogtreecommitdiff
path: root/src/atipreinit.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-08-28 18:10:34 +0000
committerAdam Jackson <ajax@nwnk.net>2005-08-28 18:10:34 +0000
commitce0589ff3b9fcf8c6bab64da4dba40ba540a6a03 (patch)
tree61cd3777543d60feb21c4436c9334c75887ea484 /src/atipreinit.c
parent250c8732a54924eeb459880f2905f8e59d038e60 (diff)
Bug #1109: Fix VGA init on Rage Mobility 7500 (Marc Le France)
Diffstat (limited to 'src/atipreinit.c')
-rw-r--r--src/atipreinit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c
index fa5d50c..cc45b05 100644
--- a/src/atipreinit.c
+++ b/src/atipreinit.c
@@ -1926,10 +1926,10 @@ ATIPreInit
VDisplay = GetBits(pATIHW->crtc_v_total_disp, CRTC_V_DISP);
VSyncStart =
GetBits(pATIHW->crtc_v_sync_strt_wid, CRTC_V_SYNC_STRT);
- VSyncEnd = (VSyncStart & ~MaxBits(CRTC_V_SYNC_WID)) |
- GetBits(pATIHW->crtc_v_sync_strt_wid, CRTC_V_SYNC_WID);
+ VSyncEnd = (VSyncStart & ~MaxBits(CRTC_V_SYNC_END_VGA)) |
+ GetBits(pATIHW->crtc_v_sync_strt_wid, CRTC_V_SYNC_END_VGA);
if (VSyncStart > VSyncEnd)
- VSyncEnd += MaxBits(CRTC_V_SYNC_WID) + 1;
+ VSyncEnd += MaxBits(CRTC_V_SYNC_END_VGA) + 1;
VTotal = GetBits(pATIHW->crtc_v_total_disp, CRTC_V_TOTAL);
VBlankStart = (VDisplay & ~0x03FFU) |
@@ -2201,7 +2201,7 @@ ATIPreInit
if ((pATIHW->horz_stretching &
(HORZ_STRETCH_EN | AUTO_HORZ_RATIO)) !=
(HORZ_STRETCH_EN | AUTO_HORZ_RATIO))
- xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
+ xf86DrvMsgVerb(pScreenInfo->scrnIndex, X_WARNING, 4,
"Inconsistent panel horizontal dimension:"
" %d and %d.\n", pATI->LCDHorizontal, HDisplay);
HDisplay = pATI->LCDHorizontal;
@@ -2217,7 +2217,7 @@ ATIPreInit
{
if (!(pATIHW->vert_stretching & VERT_STRETCH_EN) ||
!(pATIHW->ext_vert_stretch & AUTO_VERT_RATIO))
- xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
+ xf86DrvMsgVerb(pScreenInfo->scrnIndex, X_WARNING, 4,
"Inconsistent panel vertical dimension: %d and %d.\n",
pATI->LCDVertical, VDisplay);
VDisplay = pATI->LCDVertical;