Re: [patch 5/8] [Intel IOMMU] Graphics driver workarounds to provideunity map

From: Arjan van de Ven
Date: Tue Apr 10 2007 - 12:30:38 EST


David Miller wrote:
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 10 Apr 2007 09:33:51 +0100

On Mon, Apr 09, 2007 at 02:55:57PM -0700, Ashok Raj wrote:
Most GFX drivers don't call standard PCI DMA APIs to allocate DMA buffer,
Such drivers will be broken with IOMMU enabled. To workaround this issue, we added two options.
All drm drivers do it. If the usual out of tree crap vendors are too
stupid for their own sake it's their fault.

So NACK to this patch.

That's my feeling as well, everything we care about should be using
the proper APIs or else what is the point of them...

that's too simple; X uses /dev/mem as well, even with something as open as the Intel drivers.

Sad but true ;(

(it's getting resolved on the X side but existing X is like this)
-
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/