x86: gart alloc_coherent does virtual mapppings only when necessary
commitf6a32a36ab96016675cd414802904feb288d7899
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 11 Sep 2008 14:08:48 +0000 (11 23:08 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 14:43:58 +0000 (14 16:43 +0200)
tree1782f3b01261ea952da18208c20f9d30370856ba
parentf10ac8a232496bf9271cfc67c6eea432891f04a6
x86: gart alloc_coherent does virtual mapppings only when necessary

gart alloc_coherent need to do virtual mapppings only when an
allocated buffer is not DMA-capable for a device.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c