Commit d3e240c4 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

drm/msm/mdp5: Remove direct access of dev->iommu_fwspec



Use the accessor functions instead of directly dereferencing
dev->iommu_fwspec.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Reviewed-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20200326150841.10083-4-joro@8bytes.org
parent 6990ec79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -725,7 +725,7 @@ struct msm_kms *mdp5_kms_init(struct drm_device *dev)

	if (config->platform.iommu) {
		iommu_dev = &pdev->dev;
		if (!iommu_dev->iommu_fwspec)
		if (!dev_iommu_fwspec_get(iommu_dev))
			iommu_dev = iommu_dev->parent;

		aspace = msm_gem_address_space_create(iommu_dev,