diff options
| author | 2022-09-28 12:49:00 +0530 | |
|---|---|---|
| committer | 2022-09-30 09:01:41 -0700 | |
| commit | 76efc2453d0e8e5d6692ef69981b183ad674edea (patch) | |
| tree | 10185204e51483e8b1804b60f2e352bcdea8df64 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/msm/a6xx: Replace kcalloc() with kvzalloc() (diff) | |
| download | linux-dev-76efc2453d0e8e5d6692ef69981b183ad674edea.tar.xz linux-dev-76efc2453d0e8e5d6692ef69981b183ad674edea.zip | |
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 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
