]> git.baikalelectronics.ru Git - kernel.git/commit
drm: fix for non-coherent DMA PowerPC
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Mar 2008 21:23:07 +0000 (14:23 -0700)
committerDave Airlie <airlied@linux.ie>
Sat, 29 Mar 2008 21:57:57 +0000 (07:57 +1000)
commit428632be927117fff9d087e55b6d7d01a904f525
treeb3f0a1795a3c0c66de99642ba0e1c233c872823c
parent5c86b5281600d2dbc045693b00f88cff7dec6adc
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>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/ati_pcigart.c
drivers/char/drm/drm_scatter.c
drivers/char/drm/drm_vm.c