diff options
author | Rob Clark <robdclark@chromium.org> | 2020-08-11 16:36:57 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-08-22 10:49:08 -0700 |
commit | 6f7cd6e40b94d498049c1a8664c15bf5863ae578 (patch) | |
tree | 80590dc40ed64c11ca8be8b00be222bf30e3f90f /drivers/gpu/drm/msm/adreno/adreno_gpu.h | |
parent | f74cacf5d2bf71c2b415dbb9f100f2c705ad5182 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/adreno_gpu.h')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/adreno_gpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.h b/drivers/gpu/drm/msm/adreno/adreno_gpu.h index 99bb468f5f24..e55abae365b5 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.h +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.h @@ -21,6 +21,8 @@ #define REG_SKIP ~0 #define REG_ADRENO_SKIP(_offset) [_offset] = REG_SKIP +extern bool snapshot_debugbus; + /** * adreno_regs: List of registers that are used in across all * 3D devices. Each device type has different offset value for the same |