agp: remove flush_agp_mappings calls from new flush handling code
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
f011ae7437
commit
bc894606e8
@ -597,7 +597,6 @@ static void intel_i830_fini_flush(void)
|
|||||||
kunmap(intel_private.i8xx_page);
|
kunmap(intel_private.i8xx_page);
|
||||||
intel_private.i8xx_flush_page = NULL;
|
intel_private.i8xx_flush_page = NULL;
|
||||||
unmap_page_from_agp(intel_private.i8xx_page);
|
unmap_page_from_agp(intel_private.i8xx_page);
|
||||||
flush_agp_mappings();
|
|
||||||
|
|
||||||
__free_page(intel_private.i8xx_page);
|
__free_page(intel_private.i8xx_page);
|
||||||
intel_private.i8xx_page = NULL;
|
intel_private.i8xx_page = NULL;
|
||||||
@ -615,7 +614,6 @@ static void intel_i830_setup_flush(void)
|
|||||||
|
|
||||||
/* make page uncached */
|
/* make page uncached */
|
||||||
map_page_into_agp(intel_private.i8xx_page);
|
map_page_into_agp(intel_private.i8xx_page);
|
||||||
flush_agp_mappings();
|
|
||||||
|
|
||||||
intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page);
|
intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page);
|
||||||
if (!intel_private.i8xx_flush_page)
|
if (!intel_private.i8xx_flush_page)
|
||||||
|
Loading…
Reference in New Issue
Block a user