diff options
author | Dmitry Baryshkov <[email protected]> | 2022-06-16 11:11:04 +0300 |
---|---|---|
committer | Rob Clark <[email protected]> | 2022-07-06 18:54:13 -0700 |
commit | 8cb72adb1c6618c77fdf3e7c8acd8876d6d1b0b7 (patch) | |
tree | 8c0b895276d528f64cf1c52646e65d1b0aa8762f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8010b14e6219c0060716c885a89658060a388544 (diff) |
drm/msm: Stop using iommu_present()
Even if some IOMMU has registered itself on the platform "bus", that
doesn't necessarily mean it provides translation for the device we
care about. Replace iommu_present() with a more appropriate check.
On Qualcomm platforms the IOMMU can be specified either for the MDP/DPU
device or for its parent MDSS device depending on the actual platform.
Check both of them, since that is how both DPU and MDP5 drivers work.
Co-developed-by: Robin Murphy <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/489699/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions