summaryrefslogtreecommitdiff
path: root/drivers/char/agp/intel-agp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-05 15:05:23 +1000
committerDave Airlie <airlied@redhat.com>2008-02-05 15:05:23 +1000
commitbc894606e8843808c232319f69c26c18f6eaa662 (patch)
tree21f3f2d2c8a8c84d069bf7180045b864deb7644d /drivers/char/agp/intel-agp.c
parentf011ae7437761dc071b4154cabb0041df041a7c0 (diff)
agp: remove flush_agp_mappings calls from new flush handling code
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/agp/intel-agp.c')
-rw-r--r--drivers/char/agp/intel-agp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index fe6fc382190f..eeea50a1d22a 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -597,7 +597,6 @@ static void intel_i830_fini_flush(void)
kunmap(intel_private.i8xx_page);
intel_private.i8xx_flush_page = NULL;
unmap_page_from_agp(intel_private.i8xx_page);
- flush_agp_mappings();
__free_page(intel_private.i8xx_page);
intel_private.i8xx_page = NULL;
@@ -615,7 +614,6 @@ static void intel_i830_setup_flush(void)
/* make page uncached */
map_page_into_agp(intel_private.i8xx_page);
- flush_agp_mappings();
intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page);
if (!intel_private.i8xx_flush_page)