From a8ac51bbb693aa0cb926df3cd03004d3838f6203 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 2 Nov 2014 11:28:15 +0000 Subject: [PATCH] In agp_amd_bind_page don't flush the AGP TLB. It's done by the calling function. --- sys/dev/agp/agp_amd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/agp/agp_amd.c b/sys/dev/agp/agp_amd.c index 3023213cdfd..a39dec5bec8 100644 --- a/sys/dev/agp/agp_amd.c +++ b/sys/dev/agp/agp_amd.c @@ -347,9 +347,6 @@ agp_amd_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) return EINVAL; sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical | 1; - - /* invalidate the cache */ - AGP_FLUSH_TLB(dev); return 0; }