diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2022-04-21 23:34:53 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-05-02 20:11:44 +0300 |
commit | 36a1d1bda77e1851bddfa9cf4e8ada94476dbaff (patch) | |
tree | 01c153a59f5e01b17fed397ba0510c894446d3d9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f1fc2b87de4719cfa8e193e0746cc524dd9f7472 (diff) | |
download | linux-36a1d1bda77e1851bddfa9cf4e8ada94476dbaff.tar.xz |
drm/msm: Fix null pointer dereferences without iommu
Check if 'aspace' is set before using it as it will stay null without
IOMMU, such as on msm8974.
Fixes: bc2112583a0b ("drm/msm/gpu: Track global faults per address-space")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20220421203455.313523-1-luca@z3ntu.xyz
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions