diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-03-26 16:08:28 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-03-27 11:12:19 +0100 |
commit | d3e240c4bcf0030349b9289d1cbcbd0672b73284 (patch) | |
tree | aa307c073f416906cd8c9a1244fb41f2cedcce39 /drivers/gpu | |
parent | 6990ec796a7470740e6fb108dd30948b1ac9beb9 (diff) | |
download | linux-d3e240c4bcf0030349b9289d1cbcbd0672b73284.tar.gz linux-d3e240c4bcf0030349b9289d1cbcbd0672b73284.tar.bz2 linux-d3e240c4bcf0030349b9289d1cbcbd0672b73284.zip |
drm/msm/mdp5: Remove direct access of dev->iommu_fwspec
Use the accessor functions instead of directly dereferencing
dev->iommu_fwspec.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20200326150841.10083-4-joro@8bytes.org
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c index e43ecd4be10a..1252e1d76340 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c @@ -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, |