summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-11-15 11:29:54 +1000
committerDave Airlie <airlied@redhat.com>2014-11-15 11:29:54 +1000
commit810572536e153ac9e4615a35e2ab99dc266806da (patch)
tree08e3693d878ee64096c89184d6c42720840bf636
parente538ff6b2108117a7ae6644a844c6ce10fc0f1ee (diff)
mach64: fix build probably not required with pci access anyways
-rw-r--r--src/atipreinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c
index e3048d2..dbcd9fd 100644
--- a/src/atipreinit.c
+++ b/src/atipreinit.c
@@ -1079,12 +1079,14 @@ ATIPreInit
}
}
+#ifndef XSERVER_LIBPCIACCESS
if (!xf86LinearVidMem())
{
xf86DrvMsg(pScreenInfo->scrnIndex, X_ERROR,
"A linear aperture is not available.\n");
goto bail;
}
+#endif
/*
* Set colour weights.