]> git.baikalelectronics.ru Git - kernel.git/commit
drm/arm/malidp: Stop using iommu_present()
authorRobin Murphy <robin.murphy@arm.com>
Tue, 5 Apr 2022 14:11:18 +0000 (15:11 +0100)
committerLiviu Dudau <liviu.dudau@arm.com>
Mon, 11 Apr 2022 17:30:18 +0000 (18:30 +0100)
commit478155aaddb03588f114d94174bbe9c7be8513ed
tree0c48929ba45533598ae2cb0ac8b54ed569166129
parent29f6337718026534039cb618b984f04ae1bb8d9d
drm/arm/malidp: Stop using iommu_present()

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 <robin.murphy@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5049994e6c2ba92c2f30d51850c8929136d0f8ca.1649167878.git.robin.murphy@arm.com
drivers/gpu/drm/arm/malidp_planes.c