Re: [PATCH] drm/tegra: Stop using iommu_present()

2022-04-08 Thread Robin Murphy
On 2022-04-07 18:51, Dmitry Osipenko wrote: On 4/6/22 21:06, Robin Murphy wrote: On 2022-04-06 15:32, Dmitry Osipenko wrote: On 4/5/22 17:19, Robin Murphy wrote: Remove the pointless check. host1x_drm_wants_iommu() cannot return true unless an IOMMU exists for the host1x platform device, which

Re: [PATCH] drm/tegra: Stop using iommu_present()

2022-04-07 Thread Dmitry Osipenko
On 4/6/22 21:06, Robin Murphy wrote: > On 2022-04-06 15:32, Dmitry Osipenko wrote: >> On 4/5/22 17:19, Robin Murphy wrote: >>> Remove the pointless check. host1x_drm_wants_iommu() cannot return true >>> unless an IOMMU exists for the host1x platform device, which at the >>> moment >>> means the iom

Re: [PATCH] drm/tegra: Stop using iommu_present()

2022-04-06 Thread Robin Murphy
On 2022-04-06 15:32, Dmitry Osipenko wrote: On 4/5/22 17:19, Robin Murphy wrote: Remove the pointless check. host1x_drm_wants_iommu() cannot return true unless an IOMMU exists for the host1x platform device, which at the moment means the iommu_present() test could never fail. Signed-off-by: Rob

Re: [PATCH] drm/tegra: Stop using iommu_present()

2022-04-06 Thread Dmitry Osipenko
On 4/5/22 17:19, Robin Murphy wrote: > Remove the pointless check. host1x_drm_wants_iommu() cannot return true > unless an IOMMU exists for the host1x platform device, which at the moment > means the iommu_present() test could never fail. > > Signed-off-by: Robin Murphy > --- > drivers/gpu/drm/t

[PATCH] drm/tegra: Stop using iommu_present()

2022-04-05 Thread Robin Murphy
Remove the pointless check. host1x_drm_wants_iommu() cannot return true unless an IOMMU exists for the host1x platform device, which at the moment means the iommu_present() test could never fail. Signed-off-by: Robin Murphy --- drivers/gpu/drm/tegra/drm.c | 2 +- 1 file changed, 1 insertion(+),