Skip to content
Snippets Groups Projects
Commit 3a919bd7 authored by Tarun Karra's avatar Tarun Karra Committed by Iliyan Malchev
Browse files

msm: kgsl: Prevent adreno stop after gpu is power collapsed


When GPU is power collapsed GPU is already stopped. If kgsl release
gets called do not try to stop the GPU again. Trying to stop
already stopped GPU can lead to errors.

When content protection is enabled we cannot write to VBIF
registers with iommu detached. With this limitation if
adreno stop gets called twice, the second adreno stop will
cause NOC errors/XPU violations because trustzone will
XPU lock down all VBIF registers after first adreno stop.

Prevent adreno stop getting called twice by checking if device
is started, only if device is started go ahead with adreno
stop.

CRs-fixed: 726670
Change-Id: I4e3c7a9b37eb88d458d65763ed6818a4fd96bd06
Signed-off-by: default avatarTarun Karra <tkarra@codeaurora.org>
parent 6399588b
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.
Please register or to comment