]> git.baikalelectronics.ru Git - kernel.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)
commit6e9bc58ddcba7e17b45e57e35acda8b796f709a3
tree6e387cd165924e7bfb6619f3aaaa3dc404a2908a
parent1db2f06dc56d44051eabc0fcdc58928d5cb77b81
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