summaryrefslogtreecommitdiff
path: root/src/radeon_exa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-09-17 07:47:51 +0000
committerDave Airlie <airlied@linux.ie>2005-09-17 07:47:51 +0000
commit3c71198a088e71a105e274f176c8ceb503615d46 (patch)
treef505513bfd6dff7267e0cdc0b8469f8764d5f653 /src/radeon_exa.c
parent10cf3523f236a017a1ca7e5ee57e02176b924059 (diff)
Switch radeon driver to using a card type rather than having a IsPCI flag,
allow for PCI/AGP/PCIE cards. Set PCI gart allocation to only happen on PCIE cards. Add Radeon PCIE card detection using capability bits.
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r--src/radeon_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index 3224b9a..5b81b27 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -392,7 +392,7 @@ Bool RADEONSetupMemEXA (ScreenPtr pScreen)
info->frontOffset = 0;
info->frontPitch = pScrn->displayWidth;
- if (info->IsPCI && info->drmMinor >= 19) {
+ if ((info->cardType==CARD_PCIE) && info->drmMinor >= 19) {
info->pciGartSize = RADEON_PCIGART_TABLE_SIZE;
info->pciGartOffset = RADEON_ALIGN(info->exa.card.offScreenBase,
256);