summaryrefslogtreecommitdiff
path: root/src/atipreinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atipreinit.c')
-rw-r--r--src/atipreinit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c
index dbcd9fd..96ec68f 100644
--- a/src/atipreinit.c
+++ b/src/atipreinit.c
@@ -2252,8 +2252,6 @@ ATIPreInit
pitchInc = minPitch * pATI->bitsPerPixel;
- pScreenInfo->maxHValue = (MaxBits(CRTC_H_TOTAL) + 1) << 3;
-
if (pATI->Chip < ATI_CHIP_264VT)
{
/*
@@ -2264,12 +2262,8 @@ ATIPreInit
*/
ATIClockRange.doubleScanAllowed = FALSE;
- /* CRTC_H_TOTAL is one bit narrower */
- pScreenInfo->maxHValue >>= 1;
}
- pScreenInfo->maxVValue = MaxBits(CRTC_V_TOTAL) + 1;
-
maxPitch = minPitch * MaxBits(CRTC_PITCH);
if (pATI->OptionAccel)