aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
diff options
context:
space:
mode:
authorYang Wang <[email protected]>2023-11-24 08:07:56 +0000
committerAlex Deucher <[email protected]>2024-01-15 23:35:35 +0000
commit33dcda51e9bd1b904d034fee3332ded8ad254125 (patch)
tree7e043e017b4800b9c46b9b7059113b55672902e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
parentdrm/amdgpu: add ACA kernel hardware error log support (diff)
downloadkernel-33dcda51e9bd1b904d034fee3332ded8ad254125.tar.gz
kernel-33dcda51e9bd1b904d034fee3332ded8ad254125.zip
drm/amdgpu: add ACA bank dump debugfs support
add ACA bank dump debugfs 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_aca.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
index 8aa3d8c4136c..ac641952ab71 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
@@ -192,4 +192,6 @@ int amdgpu_aca_add_handle(struct amdgpu_device *adev, struct aca_handle *handle,
void amdgpu_aca_remove_handle(struct aca_handle *handle);
int amdgpu_aca_get_error_data(struct amdgpu_device *adev, struct aca_handle *handle,
enum aca_error_type type, void *data);
+int amdgpu_aca_smu_set_debug_mode(struct amdgpu_device *adev, bool en);
+void amdgpu_aca_smu_debugfs_init(struct amdgpu_device *adev, struct dentry *root);
#endif