aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-23 16:53:36 -0400
committerDave Airlie <airlied@redhat.com>2010-08-29 19:44:40 -0400
commit89c372647d1d698a96e2189ef4312a977b939839 (patch)
treea9ac9335b7c9079c6d119c4de318af3e83368512 /include/drm
parent8f879194f88742d9c452f669482b6d6abdc1e1e7 (diff)
drm: kill agp indirection mess
There's no point in jumping through two indirections. So kill one and call the kernels agp functions directly. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 989cefe33c7b..ffe6035cf471 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1171,7 +1171,6 @@ extern int drm_mem_info(char *buf, char **start, off_t offset,
1171extern void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area); 1171extern void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area);
1172 1172
1173extern void drm_free_agp(DRM_AGP_MEM * handle, int pages); 1173extern void drm_free_agp(DRM_AGP_MEM * handle, int pages);
1174extern DRM_AGP_MEM *drm_alloc_agp(struct drm_device *dev, int pages, u32 type);
1175extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); 1174extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start);
1176extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev, 1175extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev,
1177 struct page **pages, 1176 struct page **pages,
@@ -1331,10 +1330,6 @@ extern int drm_agp_unbind_ioctl(struct drm_device *dev, void *data,
1331extern int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request); 1330extern int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request);
1332extern int drm_agp_bind_ioctl(struct drm_device *dev, void *data, 1331extern int drm_agp_bind_ioctl(struct drm_device *dev, void *data,
1333 struct drm_file *file_priv); 1332 struct drm_file *file_priv);
1334extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, size_t pages, u32 type);
1335extern int drm_agp_free_memory(DRM_AGP_MEM * handle);
1336extern int drm_agp_bind_memory(DRM_AGP_MEM * handle, off_t start);
1337extern int drm_agp_unbind_memory(DRM_AGP_MEM * handle);
1338extern void drm_agp_chipset_flush(struct drm_device *dev); 1333extern void drm_agp_chipset_flush(struct drm_device *dev);
1339 1334
1340 /* Stub support (drm_stub.h) */ 1335 /* Stub support (drm_stub.h) */