mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drm/msm/adreno: Add a5xx specific registers for the GPU state
HLSQ, SP and TP registers are only accessible from a special aperture and to make matters worse the aperture is blocked from the CPU on targets that can support secure rendering. Luckily the GPU hardware has its own purpose built register dumper that can access the registers from the aperture. Add a5xx specific code to program the crashdumper and retrieve the wayward registers and dump them for the crash state. Also, remove a block of registers the regular CPU accessible list that aren't useful for debug which helps reduce the size of the crash state file by a goodly amount. Signed-off-by: Jordan Crouse <[email protected]> Signed-off-by: Rob Clark <[email protected]>
This commit is contained in:
parent
43a56687d1
commit
50f8d21863
6 changed files with 252 additions and 31 deletions
|
|
@ -76,3 +76,7 @@ registers
|
|||
|
||||
value
|
||||
Hexadecimal value of the register.
|
||||
|
||||
registers-hlsq
|
||||
(5xx only) Register values from the HLSQ aperture.
|
||||
Same format as the register section.
|
||||
|
|
|
|||
Loading…
Reference in a new issue