Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-11-05 Thread Thierry Reding
On Tue, Sep 30, 2014 at 02:48:35PM -0400, Sean Paul wrote: > On Thu, Jun 26, 2014 at 4:49 PM, Thierry Reding > wrote: > > From: Thierry Reding > > > > When an IOMMU device is available on the platform bus, allocate an IOMMU > > domain and attach the display controllers to it. The display controll

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-11-05 Thread Thierry Reding
On Wed, Oct 01, 2014 at 11:54:11AM -0400, Sean Paul wrote: > On Tue, Sep 30, 2014 at 2:48 PM, Sean Paul wrote: > > On Thu, Jun 26, 2014 at 4:49 PM, Thierry Reding > > wrote: > >> diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c [...] > >> static void tegra_bo_destroy(struc

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-10-02 Thread Thierry Reding
On Wed, Oct 01, 2014 at 11:54:11AM -0400, Sean Paul wrote: > On Tue, Sep 30, 2014 at 2:48 PM, Sean Paul wrote: > > On Thu, Jun 26, 2014 at 4:49 PM, Thierry Reding > > wrote: > >> From: Thierry Reding > >> > >> When an IOMMU device is available on the platform bus, allocate an IOMMU > >> domain a

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-10-01 Thread Sean Paul
On Tue, Sep 30, 2014 at 2:48 PM, Sean Paul wrote: > On Thu, Jun 26, 2014 at 4:49 PM, Thierry Reding > wrote: >> From: Thierry Reding >> >> When an IOMMU device is available on the platform bus, allocate an IOMMU >> domain and attach the display controllers to it. The display controllers >> can t

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-09-30 Thread Sean Paul
On Thu, Jun 26, 2014 at 4:49 PM, Thierry Reding wrote: > From: Thierry Reding > > When an IOMMU device is available on the platform bus, allocate an IOMMU > domain and attach the display controllers to it. The display controllers > can then scan out non-contiguous buffers by mapping them through

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-06-27 Thread Thierry Reding
On Fri, Jun 27, 2014 at 12:46:14PM +0300, Hiroshi DOyu wrote: > Thierry Reding writes: [...] > > diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c [...] > > + if (tegra->domain) { > > + err = iommu_attach_device(tegra->domain, dc->dev); > > I wanted to keep

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-06-27 Thread Arnd Bergmann
On Friday 27 June 2014 12:46:14 Hiroshi DOyu wrote: > > Thierry Reding writes: > > > From: Thierry Reding > > > > When an IOMMU device is available on the platform bus, allocate an IOMMU > > domain and attach the display controllers to it. The display controllers > > can then scan out non-conti

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-06-27 Thread Hiroshi DOyu
Thierry Reding writes: > From: Thierry Reding > > When an IOMMU device is available on the platform bus, allocate an IOMMU > domain and attach the display controllers to it. The display controllers > can then scan out non-contiguous buffers by mapping them through the > IOMMU. > > Signed-off-by

[RFC 09/10] drm/tegra: Add IOMMU support

2014-06-26 Thread Thierry Reding
From: Thierry Reding When an IOMMU device is available on the platform bus, allocate an IOMMU domain and attach the display controllers to it. The display controllers can then scan out non-contiguous buffers by mapping them through the IOMMU. Signed-off-by: Thierry Reding --- drivers/gpu/drm/t