Skip to content
Commit 36a1d1bd authored by Luca Weiss's avatar Luca Weiss Committed by Rob Clark
Browse files

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: bc211258 ("drm/msm/gpu: Track global faults per address-space")
Signed-off-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20220421203455.313523-1-luca@z3ntu.xyz


Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent f1fc2b87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment