intel_agp: Use PCI DMA API correctly on chipsets new enough to have IOMMU
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Mon, 27 Jul 2009 11:59:57 +0000 (12:59 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 3 Aug 2009 08:04:50 +0000 (09:04 +0100)
commit176616814d700f19914d8509d9f65dec51a6ebf7
tree535417a2e6ce311d7016ca15c303e4ded40f6852
parentff663cf8705bea101d5f73cf471855c85242575e
intel_agp: Use PCI DMA API correctly on chipsets new enough to have IOMMU

When graphics dma remapping engine is active, we must fill
gart table with dma address from dmar engine, as now graphics
device access to graphics memory must go through dma remapping
table to get real physical address.

Add this support to all drivers which use intel_i915_insert_entries()

Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/char/agp/intel-agp.c