diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-01-03 11:22:23 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-01-03 11:22:23 +0000 |
commit | 320802ebc145c0b821979dc587cd7e90b10b2d55 (patch) | |
tree | 816c9edec75fad1f35d7ee7c1ebf3bf191846df0 /shared/radeon_cp.c | |
parent | 7419aa6e3f639ee47879824f387117d28b4de013 (diff) |
more cleanups, free mem heap data on last client exit
Diffstat (limited to 'shared/radeon_cp.c')
-rw-r--r-- | shared/radeon_cp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c index 7047a4b0..f7b99e8a 100644 --- a/shared/radeon_cp.c +++ b/shared/radeon_cp.c @@ -1398,9 +1398,10 @@ void radeon_do_release( drm_device_t *dev ) /* Disable *all* interrupts */ RADEON_WRITE( RADEON_GEN_INT_CNTL, 0 ); - - /* Destroy agp heap ??? */ -/* radeon_mem_takedown( &(dev_priv->agp_heap) ); */ + + /* Free memory heap structures */ + radeon_mem_takedown( &(dev_priv->agp_heap) ); + radeon_mem_takedown( &(dev_priv->fb_heap) ); /* deallocate kernel resources */ radeon_do_cleanup_cp( dev ); |