summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/Kconfig
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2018-07-24 19:33:27 +0300
committerRob Clark <robdclark@gmail.com>2018-07-30 15:49:56 +0300
commitc0fec7f562ec76404ef0f074a89113a703587f3d (patch)
treed88efd150b3c010d6d1ed8c94f26f347c46228d4 /drivers/gpu/drm/msm/Kconfig
parent65a3c2748e882da03102369edb6991e1dd88456e (diff)
downloadlinux-c0fec7f562ec76404ef0f074a89113a703587f3d.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/msm/Kconfig')
-rw-r--r--drivers/gpu/drm/msm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index 38cbde971b48..843a9d40c05e 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -12,6 +12,7 @@ config DRM_MSM
select SHMEM
select TMPFS
select QCOM_SCM
+ select WANT_DEV_COREDUMP
select SND_SOC_HDMI_CODEC if SND_SOC
select SYNC_FILE
select PM_OPP