OSDN Git Service

drm/msm/gpu: Convert the GPU show function to use the GPU state
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 24 Jul 2018 16:33:25 +0000 (10:33 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:49:48 +0000 (08:49 -0400)
commit4f776f4511c7f7b6576dfc38c609b168b9188d72
tree53987d0938bcb9f6061eb69efe1e21328ee938d2
parente00e473d9817e03cddbaf181a491c42ae8373482
drm/msm/gpu: Convert the GPU show function to use the GPU state

Convert the existing GPU show function to use the GPU state to
dump the information rather than reading it directly from the hardware.
This will require an additional step to capture the state before
dumping it for the existing nodes but it will greatly facilitate reusing
the same code for dumping a previously captured state from a GPU hang.

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_debugfs.c
drivers/gpu/drm/msm/msm_gpu.h