summaryrefslogtreecommitdiff
path: root/src/radeon_exa.c
diff options
context:
space:
mode:
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);