projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6990ec7
)
drm/msm/mdp5: Remove direct access of dev->iommu_fwspec
author
Joerg Roedel
<jroedel@suse.de>
Thu, 26 Mar 2020 15:08:28 +0000
(16:08 +0100)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 27 Mar 2020 10:12:19 +0000
(11:12 +0100)
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
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c
b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c
index
e43ecd4
..
1252e1d
100644
(file)
--- 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,