aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorSomalapuram Amaranath <Amaranath.Somalapuram@amd.com>2022-02-23 16:20:31 +0530
committerAlex Deucher <alexander.deucher@amd.com>2022-02-23 14:26:36 -0500
commit5ce5a584cb826f1c1f0625a336134feb4e1142cd (patch)
tree9b4707c313d314631866fc0ce092532851a82e78 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: check vm ready by amdgpu_vm->evicting flag (diff)
downloadlinux-5ce5a584cb826f1c1f0625a336134feb4e1142cd.tar.gz
linux-5ce5a584cb826f1c1f0625a336134feb4e1142cd.zip
drm/amdgpu: add debugfs for reset registers list
List of register populated for dump collection during the GPU reset. Signed-off-by: Somalapuram Amaranath <Amaranath.Somalapuram@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index a117b40f03a0..bbe9950bf4db 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1094,6 +1094,10 @@ struct amdgpu_device {
struct ip_discovery_top *ip_top;
struct mutex benchmark_mutex;
+
+ /* reset dump register */
+ uint32_t *reset_dump_reg_list;
+ int num_regs;
};
static inline struct amdgpu_device *drm_to_adev(struct drm_device *ddev)