summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/generic.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-11-05 22:27:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-23 21:14:46 +0100
commitcb16b67b5cb33b7d6732e0c416d29d933eea13ce (patch)
treeb9e9abd539aea42c86bbc5c44a17456291512ccb /drivers/char/agp/generic.c
parentdrm/i915: restore gtt on resume in the drm instead of in intel-gtt.ko (diff)
downloadlinux-cb16b67b5cb33b7d6732e0c416d29d933eea13ce.tar.xz
linux-cb16b67b5cb33b7d6732e0c416d29d933eea13ce.zip
agp: kill agp_rebind_memory
Its only user, intel-gtt.c is now gone. Cc: Dave Airlie <airlied@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/char/agp/generic.c')
-rw-r--r--drivers/char/agp/generic.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
index 78bc8de0f234..012cba0d6d96 100644
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -480,26 +480,6 @@ int agp_unbind_memory(struct agp_memory *curr)
}
EXPORT_SYMBOL(agp_unbind_memory);
-/**
- * agp_rebind_emmory - Rewrite the entire GATT, useful on resume
- */
-int agp_rebind_memory(void)
-{
- struct agp_memory *curr;
- int ret_val = 0;
-
- spin_lock(&agp_bridge->mapped_lock);
- list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
- ret_val = curr->bridge->driver->insert_memory(curr,
- curr->pg_start,
- curr->type);
- if (ret_val != 0)
- break;
- }
- spin_unlock(&agp_bridge->mapped_lock);
- return ret_val;
-}
-EXPORT_SYMBOL(agp_rebind_memory);
/* End - Routines for handling swapping of agp_memory into the GATT */