From 39615ec06e8ca9280b4feefc42e008c9795541bd Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 3 Nov 2005 00:38:25 +0000 Subject: Converts the remaining drm_agp_foo functions to be a drm_agp_foo and drm_agp_foo_ioctl pair. Modifies the MGA DRM to use the drm_agp_foo functions instead of the drm_foo_agp functions. The drm_foo_agp functions are no longer exported by drm.ko. Ensures that dma->seg_count and dma->page_count are properly set in drm_addbufs_{agp,sg,fb}. drm_addbufs_pci was already correct. Ensures that mga_do_agp_dma_bootstrap correctly sets agp_buffer_token. At this point PCI DMA is still broken. Xorg bug: #4797 Reviewed by: Dave Airlie, Eric Anholt Signed-off-by: Ian Romanick --- linux-core/drm_memory_debug.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'linux-core/drm_memory_debug.c') diff --git a/linux-core/drm_memory_debug.c b/linux-core/drm_memory_debug.c index 2ce2abcd..2fe7aeaa 100644 --- a/linux-core/drm_memory_debug.c +++ b/linux-core/drm_memory_debug.c @@ -391,7 +391,6 @@ DRM_AGP_MEM *drm_alloc_agp(drm_device_t *dev, int pages, u32 type) spin_unlock(&drm_mem_lock); return NULL; } -EXPORT_SYMBOL(drm_alloc_agp); int drm_free_agp(DRM_AGP_MEM * handle, int pages) { @@ -421,7 +420,6 @@ int drm_free_agp(DRM_AGP_MEM * handle, int pages) } return retval; } -EXPORT_SYMBOL(drm_free_agp); int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) { @@ -446,7 +444,6 @@ int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) spin_unlock(&drm_mem_lock); return retcode; } -EXPORT_SYMBOL(drm_bind_agp); int drm_unbind_agp(DRM_AGP_MEM * handle) { @@ -475,7 +472,6 @@ int drm_unbind_agp(DRM_AGP_MEM * handle) } return retcode; } -EXPORT_SYMBOL(drm_unbind_agp); #endif #endif -- cgit v1.2.3