]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: gart iommu have direct mapping when agp is present too
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 4 Oct 2008 22:55:12 +0000 (15:55 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 5 Oct 2008 09:19:03 +0000 (11:19 +0200)
commitd99e90164e6cf2eb85fa94d547d6336f8127a107
tree6e387cd165924e7bfb6619f3aaaa3dc404a2908a
parentfec6ed1d1f9b78a6acb4a3eb2c46c812ac2e96f0
x86: gart iommu have direct mapping when agp is present too

move init_memory_mapping() out of init_k8_gatt.

for: http://bugzilla.kernel.org/show_bug.cgi?id=11676
    2.6.27-rc2 to rc8, apgart fails, iommu=soft works, regression

This is needed because we need to map the GART aperture even
if the GATT is not initialized.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c