aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h
diff options
context:
space:
mode:
authorYang Wang <[email protected]>2023-09-06 04:37:14 +0000
committerAlex Deucher <[email protected]>2023-09-20 16:25:19 +0000
commit4051844c6616c0bf33dd16342967ea5b931746ae (patch)
tree764a2d403777d6e091925d78acdc1d9735416dc4 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h
parentdrm/amdgpu: add VPE IP discovery info to HW IP info query (diff)
downloadkernel-4051844c6616c0bf33dd16342967ea5b931746ae.tar.gz
kernel-4051844c6616c0bf33dd16342967ea5b931746ae.zip
drm/amdgpu: add amdgpu mca debug sysfs support
add amdgpu mca debug sysfs support. Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h
index be3189bad97f..28ad463cf5c9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h
@@ -112,4 +112,6 @@ int amdgpu_mca_smu_get_error_count(struct amdgpu_device *adev, enum amdgpu_ras_b
int amdgpu_mca_smu_get_mca_entry(struct amdgpu_device *adev, enum amdgpu_mca_error_type type,
int idx, struct mca_bank_entry *entry);
+void amdgpu_mca_smu_debugfs_init(struct amdgpu_device *adev, struct dentry *root);
+
#endif