diff options
Diffstat (limited to 'src/atipreinit.c')
-rw-r--r-- | src/atipreinit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c index 2e5903d1..62bd9267 100644 --- a/src/atipreinit.c +++ b/src/atipreinit.c @@ -429,6 +429,8 @@ ATIPreInit if (pATI->CPIODecoding == BLOCK_IO) pATI->CPIOBase = pVideo->ioBase[1]; + pATI->MMIOInLinear = FALSE; + /* Set MMIO address from PCI configuration space, if available */ if ((pATI->Block0Base = pVideo->memBase[2])) { @@ -451,6 +453,8 @@ ATIPreInit /* Check tail end of linear (8MB or 4MB) aperture */ if ((pATI->Block0Base = pVideo->memBase[0])) { + pATI->MMIOInLinear = TRUE; + pATI->Block0Base += 0x007FFC00U; ATIMach64Map(pScreenInfo->scrnIndex, pATI); if (pATI->pBlock[0]) @@ -1808,6 +1812,8 @@ ATIPreInit { int AcceleratorVideoRAM = 0, ServerVideoRAM; + pATI->MMIOInLinear = FALSE; + /* * Unless specified in PCI configuration space, set MMIO * address to tail end of linear aperture. |