diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-08-23 16:53:36 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-29 19:44:40 -0400 |
commit | 89c372647d1d698a96e2189ef4312a977b939839 (patch) | |
tree | a9ac9335b7c9079c6d119c4de318af3e83368512 /include/drm | |
parent | 8f879194f88742d9c452f669482b6d6abdc1e1e7 (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.h | 5 |
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, | |||
1171 | extern void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area); | 1171 | extern void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area); |
1172 | 1172 | ||
1173 | extern void drm_free_agp(DRM_AGP_MEM * handle, int pages); | 1173 | extern void drm_free_agp(DRM_AGP_MEM * handle, int pages); |
1174 | extern DRM_AGP_MEM *drm_alloc_agp(struct drm_device *dev, int pages, u32 type); | ||
1175 | extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); | 1174 | extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); |
1176 | extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev, | 1175 | extern 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, | |||
1331 | extern int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request); | 1330 | extern int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request); |
1332 | extern int drm_agp_bind_ioctl(struct drm_device *dev, void *data, | 1331 | extern int drm_agp_bind_ioctl(struct drm_device *dev, void *data, |
1333 | struct drm_file *file_priv); | 1332 | struct drm_file *file_priv); |
1334 | extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, size_t pages, u32 type); | ||
1335 | extern int drm_agp_free_memory(DRM_AGP_MEM * handle); | ||
1336 | extern int drm_agp_bind_memory(DRM_AGP_MEM * handle, off_t start); | ||
1337 | extern int drm_agp_unbind_memory(DRM_AGP_MEM * handle); | ||
1338 | extern void drm_agp_chipset_flush(struct drm_device *dev); | 1333 | extern void drm_agp_chipset_flush(struct drm_device *dev); |
1339 | 1334 | ||
1340 | /* Stub support (drm_stub.h) */ | 1335 | /* Stub support (drm_stub.h) */ |