drm/msm: More fully implement devcoredump for a7xx
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 25 Jan 2024 13:10:57 +0000 (13:10 +0000)
committerRob Clark <robdclark@chromium.org>
Mon, 26 Feb 2024 15:29:55 +0000 (07:29 -0800)
commit64d6255650d4e0ff816cd303a43685f65c5a0dbb
tree3523b00451a25f2f417bf6d55e6ec726bc72524f
parentd98c220f58ebb68f350b212994e6061e2845046b
drm/msm: More fully implement devcoredump for a7xx

Use the vendor-provided snapshot headers to dump the contextless
registers, shader blocks, and cluster registers. Still unimplemented are
the GMU registers and "external core" registers, which would require
more work because they use register spaces we don't have described in
devicetree and dump registers from multiple spaces in a single list.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/575919/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h