summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp/agp_amd.c
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-11-02 11:28:15 +0000
committertijl <tijl@FreeBSD.org>2014-11-02 11:28:15 +0000
commitc6908948e33ef7d19dcfcd6462e0e6e762bce03c (patch)
tree3c1d4279f9e899eb32e7693af97acaff2178c313 /sys/dev/agp/agp_amd.c
parent8120ba89b21edeec9dc892e23b443beb954cf6d7 (diff)
downloadFreeBSD-src-c6908948e33ef7d19dcfcd6462e0e6e762bce03c.zip
FreeBSD-src-c6908948e33ef7d19dcfcd6462e0e6e762bce03c.tar.gz
In agp_amd_bind_page don't flush the AGP TLB. It's done by the calling
function.
Diffstat (limited to 'sys/dev/agp/agp_amd.c')
-rw-r--r--sys/dev/agp/agp_amd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/agp/agp_amd.c b/sys/dev/agp/agp_amd.c
index 3023213..a39dec5 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;
}
OpenPOWER on IntegriCloud