]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Capture the state of the GPU
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 24 Jul 2018 16:33:24 +0000 (10:33 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:49:45 +0000 (08:49 -0400)
commitc7784b3dc94d8752f458b215ee1a655fc2caf888
tree9637b302c3de0065110d7be403cb63e6d78daeb5
parent69873ee4a4c06594b228fd9b70d7ea86c7401f50
drm/msm/gpu: Capture the state of the GPU

Add the infrastructure to capture the current state of the GPU and
store it in memory so that it can be dumped later.

For now grab the same basic ringbuffer information and registers
that are provided by the debugfs 'gpu' node but obviously this should
be extended to capture a much larger set of GPU information.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
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_gpu.h