agp: remove flush_agp_mappings calls from new flush handling code

Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Dave Airlie 2008-02-05 15:05:23 +10:00
parent f011ae7437
commit bc894606e8

View File

@ -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)