Commit 2546f463 authored by Tiago Vignatti's avatar Tiago Vignatti
Browse files

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: default avatarTiago Vignatti <tiago.vignatti@nokia.com>
parent f94f1ab8
...@@ -1293,7 +1293,9 @@ CYRIXScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) ...@@ -1293,7 +1293,9 @@ CYRIXScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
pBankInfo->pBankB = hwp->Base; pBankInfo->pBankB = hwp->Base;
pBankInfo->BankSize = 0x10000; pBankInfo->BankSize = 0x10000;
pBankInfo->nBankDepth = pScrn->depth; pBankInfo->nBankDepth = pScrn->depth;
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 8
xf86EnableAccess(pScrn); xf86EnableAccess(pScrn);
#endif
pBankInfo->SetSourceBank = pBankInfo->SetSourceBank =
(miBankProcPtr)CYRIXSetRead; (miBankProcPtr)CYRIXSetRead;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment