aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-11-05 17:27:10 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-23 15:14:46 -0500
commitcb16b67b5cb33b7d6732e0c416d29d933eea13ce (patch)
treeb9e9abd539aea42c86bbc5c44a17456291512ccb /drivers/char/agp
parent76aaf22016caa7764f40e792aaca7b4918312b22 (diff)
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')
-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)
480} 480}
481EXPORT_SYMBOL(agp_unbind_memory); 481EXPORT_SYMBOL(agp_unbind_memory);
482 482
483/**
484 * agp_rebind_emmory - Rewrite the entire GATT, useful on resume
485 */
486int agp_rebind_memory(void)
487{
488 struct agp_memory *curr;
489 int ret_val = 0;
490
491 spin_lock(&agp_bridge->mapped_lock);
492 list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
493 ret_val = curr->bridge->driver->insert_memory(curr,
494 curr->pg_start,
495 curr->type);
496 if (ret_val != 0)
497 break;
498 }
499 spin_unlock(&agp_bridge->mapped_lock);
500 return ret_val;
501}
502EXPORT_SYMBOL(agp_rebind_memory);
503 483
504/* End - Routines for handling swapping of agp_memory into the GATT */ 484/* End - Routines for handling swapping of agp_memory into the GATT */
505 485