Re: [Linaro-mm-sig] [RFC] ARM DMA mapping TODO, v1

From: Benjamin Herrenschmidt
Date: Fri Apr 29 2011 - 18:53:58 EST


On Fri, 2011-04-29 at 14:06 +0200, Thomas Hellstrom wrote:
> I think Jerome has mentioned at one point that the Radeon graphics
> cards support non-coherent mappings.

If the card is PCI/PCI-X/PCIe then coherency is not its business, it's
the business of the host bridge. However, on PCIe at least, the card can
indeed set a "no snoop" attribute on DMA transactions to request "no
coherency". At least the systems have the latitude to just ignore that
bit (like we do on all ppc afaik) :-)

> Fwiw, the PowerVR SGX MMU also supports this mode of operation,
> although it being functional I guess depends on the system
> implementation.

Right, it's not a GPU thing, it's really a system design thing.

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/