On Sat, 2008-10-18 at 22:37 +0200, Ingo Molnar wrote:
Yeah, we're stuck thinking that we "can't" map the aperture because it's
too large, but with a 64-bit kernel, we should be able to keep it mapped
permanently.
Of course, the io_reserve_pci_resource and io_map_atomic functions could
do precisely that, as kmap_atomic does on non-HIGHMEM systems today.
Yes, this is where exposing an io-specific atomic mapping function will
remain necessary for some time.
Yeah, data transfer from CPU to GPU is through a pwrite interface, and
we perform the transfer within the kernel using map/unmap operations on
the aperture as those are WC and hence do not require clflush.
We don't, but I think it would be nice to have a common API that works
across all 32-bit configurations as well as 64-bit systems.
--=20
keith.packard@intel.com