diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-05-06 20:04:50 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-05-06 20:04:50 +0300 |
commit | 2546f4635312285c752a73f3c0562b955a175063 (patch) | |
tree | 49df23fe7f6fa773e7b88e9be87828667ceb9156 | |
parent | f94f1ab8fa22977705c72d04e5f7a69b4faf6ced (diff) |
Check xf86EnableAccess only in old servers
On new X servers this function is dummy. Similar functionality is now in place
using lock/unlock mechanism of the VGA arbitration, triggered inside the
server.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r-- | src/cyrix_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cyrix_driver.c b/src/cyrix_driver.c index 66fb89b..e583201 100644 --- a/src/cyrix_driver.c +++ b/src/cyrix_driver.c @@ -1293,7 +1293,9 @@ CYRIXScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) pBankInfo->pBankB = hwp->Base; pBankInfo->BankSize = 0x10000; pBankInfo->nBankDepth = pScrn->depth; +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 8 xf86EnableAccess(pScrn); +#endif pBankInfo->SetSourceBank = (miBankProcPtr)CYRIXSetRead; |