summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2003-09-13 00:25:59 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2003-09-13 00:25:59 +0000
commitdecf9e2297d87d646a4259f5d70290f105a487cd (patch)
treeaa5d5019f2ea1a9d039eed1002f54b0c07410c06
parentdc17c4cdc358213340947ec0e7e7f4caf7664232 (diff)
compatibility layer still uses agp (not gart)trunk-20030916XFree86-4_3_99_12-merge
-rw-r--r--libdrm/xf86drmCompat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/xf86drmCompat.c b/libdrm/xf86drmCompat.c
index 9263ec4d8..20f39cdf1 100644
--- a/libdrm/xf86drmCompat.c
+++ b/libdrm/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.gart_size = info->gart_size;
+ init.gart_size = info->agp_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.gart_textures_offset = info->gart_textures_offset;
+ init.gart_textures_offset = info->agp_textures_offset;
if ( ioctl( fd, DRM_IOCTL_RADEON_CP_INIT, &init ) ) {
return -errno;