drm: Fix for non-coherent DMA PowerPC
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Mar 2008 09:25:03 +0000 (19:25 +1000)
committerDave Airlie <airlied@linux.ie>
Wed, 5 Mar 2008 09:25:03 +0000 (19:25 +1000)
commita875821f7b19a1bcee238cef5c3b507d2869542d
treedf6e4664a29e549775ad57d44fea13da55692171
parentd5c0101252e9f48ef1b59f48c05fea7007df97f0
drm: Fix for non-coherent DMA PowerPC

This patch fixes bits of the DRM so to make the radeon DRI work on
non-cache coherent PCI DMA variants of the PowerPC processors.

It moves the few places that needs change to wrappers to that
other architectures with similar issues can easily add their
own changes to those wrappers, at least until we have more useful
generic kernel API.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
linux-core/ati_pcigart.c
linux-core/drm_scatter.c
linux-core/drm_vm.c