summaryrefslogtreecommitdiff
path: root/include/drm/drm_agpsupport.h
diff options
context:
space:
mode:
authorMaya Rashish <coypu@sdf.org>2019-07-10 19:17:25 +0300
committerSam Ravnborg <sam@ravnborg.org>2019-07-15 19:11:30 +0300
commitc3bbb48e0c548badb71d8339d95974febb33991d (patch)
treeb273085980b97602798de719d073e0893a8b99f2 /include/drm/drm_agpsupport.h
parent94eb1e10a34d3c7fc42208faaa4954fe482ac091 (diff)
downloadlinux-c3bbb48e0c548badb71d8339d95974febb33991d.tar.xz
drm/agp: Remove unused function drm_agp_bind_pages
Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Maya Rashish <coypu@sdf.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190710161725.GA5042@SDF.ORG
Diffstat (limited to 'include/drm/drm_agpsupport.h')
-rw-r--r--include/drm/drm_agpsupport.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/drm/drm_agpsupport.h b/include/drm/drm_agpsupport.h
index b05e462276d5..664e120b93e6 100644
--- a/include/drm/drm_agpsupport.h
+++ b/include/drm/drm_agpsupport.h
@@ -31,11 +31,6 @@ struct drm_agp_head {
void drm_free_agp(struct agp_memory * handle, int pages);
int drm_bind_agp(struct agp_memory * handle, unsigned int start);
int drm_unbind_agp(struct agp_memory * handle);
-struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
- struct page **pages,
- unsigned long num_pages,
- uint32_t gtt_offset,
- uint32_t type);
struct drm_agp_head *drm_agp_init(struct drm_device *dev);
void drm_legacy_agp_clear(struct drm_device *dev);
@@ -80,15 +75,6 @@ static inline int drm_unbind_agp(struct agp_memory * handle)
return -ENODEV;
}
-static inline struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
- struct page **pages,
- unsigned long num_pages,
- uint32_t gtt_offset,
- uint32_t type)
-{
- return NULL;
-}
-
static inline struct drm_agp_head *drm_agp_init(struct drm_device *dev)
{
return NULL;