]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/a6xx: fix crashstate capture for A650
authorJonathan Marek <jonathan@marek.ca>
Tue, 30 Jun 2020 00:10:06 +0000 (20:10 -0400)
committerRob Clark <robdclark@chromium.org>
Fri, 31 Jul 2020 13:46:16 +0000 (06:46 -0700)
commit5e48969689891810f7e7cce09f8e046129d71c7a
tree9e4318139a4edeff0d433857ad68ad98dcaae8ff
parent88e6d5e3782809bb08661e16239f6a992f0a190d
drm/msm/a6xx: fix crashstate capture for A650

A650 has a separate RSCC region, so dump RSCC registers separately, reading
them from the RSCC base. Without this change a GPU hang will cause a system
reset if CONFIG_DEV_COREDUMP is enabled.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gmu.h
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h