summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw
diff options
context:
space:
mode:
authormdaenzer <mdaenzer>2003-08-26 16:49:33 +0000
committermdaenzer <mdaenzer>2003-08-26 16:49:33 +0000
commitdd2cb6c7a359510e90a3b7a58e18c95ebca5cbb1 (patch)
treeb8f4793f1b26ecbd2c6b0afe784f547ab4e6cf29 /xc/programs/Xserver/hw
parent857f789b2b3d04652895ce13376850f7b7df7f46 (diff)
Rename agp to gart for radeon
Diffstat (limited to 'xc/programs/Xserver/hw')
-rw-r--r--xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c4
-rw-r--r--xc/programs/Xserver/hw/xfree86/os-support/xf86drmCompat.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c
index a30eacfcb..002a9b07c 100644
--- a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c
+++ b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c
@@ -733,7 +733,7 @@ int drmRadeonInitCP( int fd, drmCompatRadeonInit *info )
init.sarea_priv_offset = info->sarea_priv_offset;
init.is_pci = info->is_pci;
init.cp_mode = info->cp_mode;
- init.agp_size = info->agp_size;
+ init.gart_size = info->gart_size;
init.ring_size = info->ring_size;
init.usec_timeout = info->usec_timeout;
@@ -752,7 +752,7 @@ int drmRadeonInitCP( int fd, drmCompatRadeonInit *info )
init.ring_offset = info->ring_offset;
init.ring_rptr_offset = info->ring_rptr_offset;
init.buffers_offset = info->buffers_offset;
- init.agp_textures_offset = info->agp_textures_offset;
+ init.gart_textures_offset = info->gart_textures_offset;
if ( ioctl( fd, DRM_IOCTL_RADEON_CP_INIT, &init ) ) {
return -errno;
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/xf86drmCompat.h b/xc/programs/Xserver/hw/xfree86/os-support/xf86drmCompat.h
index aabac48a3..a0742190f 100644
--- a/xc/programs/Xserver/hw/xfree86/os-support/xf86drmCompat.h
+++ b/xc/programs/Xserver/hw/xfree86/os-support/xf86drmCompat.h
@@ -173,7 +173,7 @@ typedef struct {
unsigned long sarea_priv_offset;
int is_pci;
int cp_mode;
- int agp_size;
+ int gart_size;
int ring_size;
int usec_timeout;
@@ -188,7 +188,7 @@ typedef struct {
unsigned long ring_offset;
unsigned long ring_rptr_offset;
unsigned long buffers_offset;
- unsigned long agp_textures_offset;
+ unsigned long gart_textures_offset;
} drmCompatRadeonInit;
typedef struct {