summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/linux/lnx_agp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/linux/lnx_agp.c')
-rw-r--r--hw/xfree86/os-support/linux/lnx_agp.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_agp.c b/hw/xfree86/os-support/linux/lnx_agp.c
index 58c904afb..9bf1d2424 100644
--- a/hw/xfree86/os-support/linux/lnx_agp.c
+++ b/hw/xfree86/os-support/linux/lnx_agp.c
@@ -352,23 +352,3 @@ xf86UnbindGARTMemory(int screenNum, int key)
return TRUE;
}
-
-/* XXX Interface may change. */
-Bool
-xf86EnableAGP(int screenNum, CARD32 mode)
-{
- agp_setup setup;
-
- if (!GARTInit(screenNum) || acquiredScreen != screenNum)
- return FALSE;
-
- setup.agp_mode = mode;
- if (ioctl(gartFd, AGPIOC_SETUP, &setup) != 0) {
- xf86DrvMsg(screenNum, X_WARNING, "xf86EnableAGP: "
- "AGPIOC_SETUP with mode %ld failed (%s)\n",
- (unsigned long) mode, strerror(errno));
- return FALSE;
- }
-
- return TRUE;
-}