diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 00:44:31 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:20 +0200 |
commit | 383e963e275d351ea3631c352f5795340162d69f (patch) | |
tree | 971755167deb2a7e430b282454ce51860f780711 /src/ativga.c | |
parent | 9b126f45db27496c1ad16db65a61fe641a018983 (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ativga.c b/src/ativga.c index 905df98e..391ea72c 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 */ |