Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-11 Thread Dmitry Osipenko
On 04.05.2018 16:37, Thierry Reding wrote: > From: Thierry Reding > > Attaching to and detaching from an IOMMU uses the same code sequence in > every driver, so factor it out into separate helpers. > > Signed-off-by: Thierry Reding > --- > drivers/gpu/drm/tegra/dc.c | 42 ++--

Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 18:10, Thierry Reding wrote: > On Fri, May 04, 2018 at 05:23:42PM +0300, Dmitry Osipenko wrote: >> On 04.05.2018 16:37, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Attaching to and detaching from an IOMMU uses the same code sequence in >>> every driver, so factor it out in

Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 16:37, Thierry Reding wrote: > From: Thierry Reding > > Attaching to and detaching from an IOMMU uses the same code sequence in > every driver, so factor it out into separate helpers. > > Signed-off-by: Thierry Reding > --- > drivers/gpu/drm/tegra/dc.c | 42 ++--

Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 06:17:45PM +0300, Dmitry Osipenko wrote: > On 04.05.2018 18:10, Thierry Reding wrote: > > On Fri, May 04, 2018 at 05:23:42PM +0300, Dmitry Osipenko wrote: > >> On 04.05.2018 16:37, Thierry Reding wrote: > >>> From: Thierry Reding > >>> > >>> Attaching to and detaching from

Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 05:23:42PM +0300, Dmitry Osipenko wrote: > On 04.05.2018 16:37, Thierry Reding wrote: > > From: Thierry Reding > > > > Attaching to and detaching from an IOMMU uses the same code sequence in > > every driver, so factor it out into separate helpers. > > > > Signed-off-by:

[PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-04 Thread Thierry Reding
From: Thierry Reding Attaching to and detaching from an IOMMU uses the same code sequence in every driver, so factor it out into separate helpers. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/dc.c | 42 ++-- drivers/gpu/drm/tegra/drm.c | 42 +++