summaryrefslogtreecommitdiff
path: root/src/ativga.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 00:44:31 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 01:24:20 +0200
commit383e963e275d351ea3631c352f5795340162d69f (patch)
tree971755167deb2a7e430b282454ce51860f780711 /src/ativga.c
parent9b126f45db27496c1ad16db65a61fe641a018983 (diff)
Always use the linear aperture.
- drop (pATI->OptionLinear == FALSE) - AcceleratorVideoRAM is always set, i.e. VGAVideoRAM is not used - pATI->LinearBase is always set - xf86LinearVidMem() is now checked in atipreinit() for both CPIO and MMIO
Diffstat (limited to 'src/ativga.c')
-rw-r--r--src/ativga.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ativga.c b/src/ativga.c
index 905df98..391ea72 100644
--- a/src/ativga.c
+++ b/src/ativga.c
@@ -74,8 +74,7 @@ ATIVGAPreInit
/* Initialise graphics controller register values */
if (pATI->Chip >= ATI_CHIP_264CT)
pATIHW->gra[5] = 0x40U;
- if (pATI->UseSmallApertures && (pATI->Chip >= ATI_CHIP_264CT) &&
- ((pATI->Chip >= ATI_CHIP_264VT) || !pATI->LinearBase))
+ if (pATI->UseSmallApertures && (pATI->Chip >= ATI_CHIP_264VT))
pATIHW->gra[6] = 0x01U; /* 128kB aperture */
else
pATIHW->gra[6] = 0x05U; /* 64kB aperture */