]> 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)
commit4ae2681c6ad1cc7ea1c93f460f92c74741b62ac6
tree0c48929ba45533598ae2cb0ac8b54ed569166129
parent7564a28c047aed471c5a5cd80bf5a94a5a76b673
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