From 062751ac472b2721bed0cd1ee48a3ae7d327ff07 Mon Sep 17 00:00:00 2001 From: Michel Daenzer Date: Tue, 26 Aug 2003 15:44:01 +0000 Subject: Remove artificial PCI GART limitations, rename AGP to GART where appropriate --- shared-core/radeon_mem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shared-core/radeon_mem.c') diff --git a/shared-core/radeon_mem.c b/shared-core/radeon_mem.c index c3cbd3a9..3a3bf011 100644 --- a/shared-core/radeon_mem.c +++ b/shared-core/radeon_mem.c @@ -1,4 +1,4 @@ -/* radeon_mem.c -- Simple agp/fb memory manager for radeon -*- linux-c -*- +/* radeon_mem.c -- Simple GART/fb memory manager for radeon -*- linux-c -*- * * Copyright (C) The Weather Channel, Inc. 2002. All Rights Reserved. * @@ -35,7 +35,7 @@ #include "radeon_drm.h" #include "radeon_drv.h" -/* Very simple allocator for agp memory, working on a static range +/* Very simple allocator for GART memory, working on a static range * already mapped into each client's address space. */ @@ -212,8 +212,8 @@ static struct mem_block **get_heap( drm_radeon_private_t *dev_priv, int region ) { switch( region ) { - case RADEON_MEM_REGION_AGP: - return &dev_priv->agp_heap; + case RADEON_MEM_REGION_GART: + return &dev_priv->gart_heap; case RADEON_MEM_REGION_FB: return &dev_priv->fb_heap; default: -- cgit v1.2.3