diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2014-04-21 15:04:54 -0600 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-05-25 22:15:43 -0700 |
| commit | 36bad5cda5ba3a41d47d3951200562a1164669a6 (patch) | |
| tree | 8b855b5f7d64ed8d58d044adc3d7b7346a64bfff /net/lapb/lapb_timer.c | |
| parent | 3f3d0d00b6e7313a07ea52a2caa551acdf5443cd (diff) | |
msm: kgsl: Protect CP_STATE_DEBUG_INDEX
Put CP_STATE_DEBUG_INDEX and CP_STATE_DEBUG_DATA under protection
to keep it from being written from an IB1. Doing so however opens
up a subtle "feature" in the microcode: memory read opcodes turn off
protected mode in the microcode to do the read and then turns it
back on regardless of the initial state. This is a problem if the
memory read happens while protected mode is turned off and then we
try to access a protected register which then complains and goes boom.
To account for this irregularity explicitly turn back off protected
mode in all the places where we know this will be a problem.
Conflicts:
drivers/gpu/msm/adreno.c
drivers/gpu/msm/adreno_a3xx.c
Change-Id: Ic0dedbad1397ca9b80132241ac006560a615e042
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
