aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2014-01-14 10:02:01 -0700
committerGaurav Gagrani <ggagrani@codeaurora.org>2014-07-31 12:27:36 +0530
commit313d974c89ee2cb93987353f39d66401057b7523 (patch)
tree03c69ed980dfa47b12ff60c450ffa69ff46c0762 /lib/mpi/mpi-inline.c
parent31dd557cdf82dd43358be10a0dcfe29184fdda7d (diff)
msm: kgsl: Force the ME off before reading the microcode
On A3XX reading the microcode while the CP is running is dangerous beyond words. By setting the offset address for the read, we are essentially changing the instruction pointer for the ME while it is running causing opcode errors, gpu faults and/or system errors. We do not want to stop the CP at the beginning of the snapshot process beacuse doing so changes the RBBM status and the state of the CP registers which may damage the debug effort. But by the time we get to the microcode read we no longer care about the state of the registers so we can freely halt the ME just before starting the read. Conflicts: drivers/gpu/msm/adreno_a3xx_snapshot.c Change-Id: Ic0dedbad85d7ec26915f054dd597e226e8101a29 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions