diff options
author | Akhil P Oommen <quic_akhilpo@quicinc.com> | 2022-09-28 12:49:00 +0530 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-09-30 09:01:41 -0700 |
commit | 76efc2453d0e8e5d6692ef69981b183ad674edea (patch) | |
tree | 10185204e51483e8b1804b60f2e352bcdea8df64 /drivers/gpu/drm/msm/dp | |
parent | ec8f1813bf8d0737898f99a8c1c69df0cde0d7dd (diff) |
drm/msm/gpu: Fix crash during system suspend after unbind
In adreno_unbind, we should clean up gpu device's drvdata to avoid
accessing a stale pointer during system suspend. Also, check for NULL
ptr in both system suspend/resume callbacks.
Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/505075/
Link: https://lore.kernel.org/r/20220928124830.2.I5ee0ac073ccdeb81961e5ec0cce5f741a7207a71@changeid
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/dp')
0 files changed, 0 insertions, 0 deletions