diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-05 00:05:23 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-05 00:05:23 -0500 |
commit | bc894606e8843808c232319f69c26c18f6eaa662 (patch) | |
tree | 21f3f2d2c8a8c84d069bf7180045b864deb7644d | |
parent | f011ae7437761dc071b4154cabb0041df041a7c0 (diff) |
agp: remove flush_agp_mappings calls from new flush handling code
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/char/agp/intel-agp.c | 2 |
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) | |||
597 | kunmap(intel_private.i8xx_page); | 597 | kunmap(intel_private.i8xx_page); |
598 | intel_private.i8xx_flush_page = NULL; | 598 | intel_private.i8xx_flush_page = NULL; |
599 | unmap_page_from_agp(intel_private.i8xx_page); | 599 | unmap_page_from_agp(intel_private.i8xx_page); |
600 | flush_agp_mappings(); | ||
601 | 600 | ||
602 | __free_page(intel_private.i8xx_page); | 601 | __free_page(intel_private.i8xx_page); |
603 | intel_private.i8xx_page = NULL; | 602 | intel_private.i8xx_page = NULL; |
@@ -615,7 +614,6 @@ static void intel_i830_setup_flush(void) | |||
615 | 614 | ||
616 | /* make page uncached */ | 615 | /* make page uncached */ |
617 | map_page_into_agp(intel_private.i8xx_page); | 616 | map_page_into_agp(intel_private.i8xx_page); |
618 | flush_agp_mappings(); | ||
619 | 617 | ||
620 | intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page); | 618 | intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page); |
621 | if (!intel_private.i8xx_flush_page) | 619 | if (!intel_private.i8xx_flush_page) |