HomeFreeBSD

MFC r273856,273863,273963-273965

Description

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

Details

Provenance
tijlAuthored on
Parents
rS275405: Convert persis_offset from global variable to softc field.
Branches
Unknown
Tags
Unknown

Event Timeline