summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/shared/agp_noop.c
blob: c1100e67b28b4667c8e4ab1fd28fe520679a556b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
 * Abstraction of the AGP GART interface.  Stubs for platforms without
 * AGP GART support.
 */

/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/agp_noop.c,v 1.3 2001/05/19 00:26:46 dawes Exp $ */

#include "X.h"
#include "xf86.h"
#include "xf86Priv.h"
#include "xf86_OSlib.h"
#include "xf86OSpriv.h"

Bool
xf86GARTCloseScreen(int screenNum)
{
	return FALSE;
}

Bool
xf86AgpGARTSupported()
{
	return FALSE;
}

AgpInfoPtr
xf86GetAGPInfo(int screenNum)
{
	return NULL;
}

Bool
xf86AcquireGART(int screenNum)
{
	return FALSE;
}

Bool
xf86ReleaseGART(int screenNum)
{
	return FALSE;
}

int
xf86AllocateGARTMemory(int screenNum, unsigned long size, int type,
			unsigned long *physical)
{
	return -1;
}


Bool
xf86BindGARTMemory(int screenNum, int key, unsigned long offset)
{
	return FALSE;
}


Bool
xf86UnbindGARTMemory(int screenNum, int key)
{
	return FALSE;
}

Bool
xf86EnableAGP(int screenNum, CARD32 mode)
{
	return FALSE;
}