]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273856,273863,273963-273965
authortijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 2 Dec 2014 13:46:13 +0000 (13:46 +0000)
committertijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 2 Dec 2014 13:46:13 +0000 (13:46 +0000)
commit44372787fdea088748af56c19b89ed09f8494daa
treeb4e5f9332c64c915e0981c15a906cc869d2e30f8
parentdbbd4e2d76a889a4664c66d3efdf62cd1f822edd
MFC r273856,273863,273963-273965

- Add two new functions to the AGP driver KPI to bind/unbind arbitrary sets
  of pages into the GTT.
- Avoid possible overflow in agp_generic_alloc_memory.
- In agp(4) avoid the need to flush all cpu caches with wbinvd between
  updating the GTT and flushing the AGP TLB by storing the GTT in
  write-combining memory.
- In agp_amd_bind_page don't flush the AGP TLB.  It's done by the calling
  function.
- agp_generic_unbind_memory: flush AGP TLB before unwiring pages
  agp_bind_pages: assert that pages have been wired down

git-svn-id: svn://svn.freebsd.org/base/stable/10@275406 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/agp/agp.c
sys/dev/agp/agp_amd.c
sys/dev/agp/agp_amd64.c
sys/dev/agp/agp_apple.c
sys/dev/agp/agp_ati.c
sys/dev/agp/agp_i810.c
sys/dev/agp/agppriv.h
sys/dev/agp/agpvar.h