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

2022-04-11 Thread Liviu Dudau
On Wed, Apr 06, 2022 at 10:27:00AM +0100, Brian Starkey wrote: > Hi Robin, > > On Tue, Apr 05, 2022 at 03:11:18PM +0100, Robin Murphy wrote: > > iommu_get_domain_for_dev() is already perfectly happy to return NULL > > if the given device has no IOMMU. Drop the unnecessary check. > > > > Signed-of

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

2022-04-06 Thread Brian Starkey
Hi Robin, On Tue, Apr 05, 2022 at 03:11:18PM +0100, Robin Murphy wrote: > iommu_get_domain_for_dev() is already perfectly happy to return NULL > if the given device has no IOMMU. Drop the unnecessary check. > > Signed-off-by: Robin Murphy LGTM, Acked-by: Brian Starkey I'll have to leave it to

[PATCH] drm/arm/malidp: Stop using iommu_present()

2022-04-05 Thread Robin Murphy
iommu_get_domain_for_dev() is already perfectly happy to return NULL if the given device has no IOMMU. Drop the unnecessary check. Signed-off-by: Robin Murphy --- drivers/gpu/drm/arm/malidp_planes.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/dr