]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Capture the GPU state on a GPU hang
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 24 Jul 2018 16:33:27 +0000 (10:33 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:49:56 +0000 (08:49 -0400)
commitddf98a425f12cad509b887c2627d055e35bcf10e
treed88efd150b3c010d6d1ed8c94f26f347c46228d4
parent2dc9812812d2ffe36090dd353ddafde6368c1a66
drm/msm/gpu: Capture the GPU state on a GPU hang

Capture the GPU state on a GPU hang and store it for later playback
via the devcoredump facility. Only one crash state is stored at a
time on the assumption that the first hang is usually the most
interesting. The existing crash state can be cleared after capturing
it and then a new one will be captured on the next hang.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Kconfig
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h
drivers/gpu/drm/msm/msm_debugfs.c
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_gpu.h