Convert BSD code to mostly use bus_dma, the dma abstraction for dealing
authorEric Anholt <anholt@freebsd.org>
Tue, 26 Apr 2005 05:19:11 +0000 (05:19 +0000)
committerEric Anholt <anholt@freebsd.org>
Tue, 26 Apr 2005 05:19:11 +0000 (05:19 +0000)
commitec111d70fee0647c4c68a02c723d4a3729c93b56
tree114a3257310a979d3dea484af62322ba007bf1e0
parent31a06d0baca9e378a773ca8bd350860546dd8a79
Convert BSD code to mostly use bus_dma, the dma abstraction for dealing
    with IOMMUs and such. There is one usage of the forbidden vtophys()
    left in drm_scatter.c which will be fixed up soon. This required a KPI
    change for drm_pci_alloc/free() to return/use a drm_dma_handle_t that
    keeps track of os-specific bits, rather than just passing around the
    vaddr/busaddr/size.
Submitted by: Tonnerre Lombard (partially) Tested on: FreeBSD: Rage128
    AGP/PCI Linux: Savage4 AGP/PCI
15 files changed:
bsd-core/ati_pcigart.c
bsd-core/drmP.h
bsd-core/drm_bufs.c
bsd-core/drm_dma.c
bsd-core/drm_pci.c
bsd-core/drm_scatter.c
linux-core/drmP.h
linux-core/drm_bufs.c
linux-core/drm_drv.c
linux-core/drm_pci.c
linux-core/drm_vm.c
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/mach64_dma.c
shared-core/mach64_drv.h