summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-08-26 16:49:33 +0000
committerMichel Daenzer <michel@daenzer.net>2003-08-26 16:49:33 +0000
commitb83d2f909e03c7c4a95f19a04d717f7ea8dc288e (patch)
tree02122ab12b904ca50af8f447064b94f9ba572ddc
parent062751ac472b2721bed0cd1ee48a3ae7d327ff07 (diff)
Rename agp to gart for radeon
-rw-r--r--libdrm/xf86drmCompat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdrm/xf86drmCompat.c b/libdrm/xf86drmCompat.c
index 6f938474..002a9b07 100644
--- a/libdrm/xf86drmCompat.c
+++ b/libdrm/xf86drmCompat.c
@@ -26,7 +26,7 @@
* Jens Owen <jens@tungstengraphics.com>
*
*/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c,v 1.1 2002/10/30 12:52:33 alanh Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c,v 1.4 2001/08/27 17:40:59 dawes Exp $ */
#ifdef XFree86Server
# include "xf86.h"
@@ -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;