OSDN Git Service

msm: kgsl: Use the crash dumper to read HLSQ/shader memory on 5XX
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 29 Apr 2016 15:29:27 +0000 (09:29 -0600)
committerJeevan Shriram <jshriram@codeaurora.org>
Thu, 12 May 2016 00:44:08 +0000 (17:44 -0700)
commit6b8e9c2af61c335c6c58f9826436bc18d0df7b17
tree2ac2e2b161c195063c2494b11bbf969bdbdc901e
parent6c48f90b6d6b3d0ea7b76bfbafd8e1c87afd1134
msm: kgsl: Use the crash dumper to read HLSQ/shader memory on 5XX

The host AHB aperture for reading the HSLQ/SP/TP and shader memory
blocks might be blocked on A5XX targets so use the CP crash dump
utility to read them instead.  Downside if the crashdumper goes boom
we'll have to skip those registers in the fallback.

Change-Id: Ic0dedbad3c7b485c696198bdfcb78d45e929ec22
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/msm/adreno_a5xx_snapshot.c