Skip to content
Snippets Groups Projects
Commit 57c0bd51 authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Rob Clark
Browse files

drm: msm: a6xx: fix gpu failure after system resume


On targets where GMU is available, GMU takes over the ownership of GX GDSC
during its initialization. So, move the refcount-get on GX PD before we
initialize the GMU. This ensures that nobody can collapse the GX GDSC
once GMU owns the GX GDSC. This patch fixes some GMU OOB errors seen
during GPU wake up during a system resume.

Reported-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
Tested-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Reviewed-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 32d3e0fe
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment