drm/msm/a6xx: add module param to enable debugbus snapshot
authorRob Clark <robdclark@chromium.org>
Tue, 11 Aug 2020 23:36:57 +0000 (16:36 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 22 Aug 2020 17:49:08 +0000 (10:49 -0700)
commit6f7cd6e40b94d498049c1a8664c15bf5863ae578
tree80590dc40ed64c11ca8be8b00be222bf30e3f90f
parentf74cacf5d2bf71c2b415dbb9f100f2c705ad5182
drm/msm/a6xx: add module param to enable debugbus snapshot

For production devices, the debugbus sections will typically be fused
off and empty in the gpu device coredump.  But since this may contain
data like cache contents, don't capture it by default.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h