summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2024-01-02 05:43:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-01-16 02:35:36 +0300
commit37973b69eab43d46dd316372b5739cc4c52a42fd (patch)
treed5b984f306f6353f21cd795fe60c21252f664bde /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parent04c4fcd2630d400959f791a598070dab9d2133cd (diff)
downloadlinux-37973b69eab43d46dd316372b5739cc4c52a42fd.tar.xz
drm/amdgpu: add aca sysfs support
add aca sysfs node support Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
index 1d568a25f1de..394394d98bc3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -840,4 +840,7 @@ int amdgpu_ras_bind_aca(struct amdgpu_device *adev, enum amdgpu_ras_block blk,
const struct aca_info *aca_info, void *data);
int amdgpu_ras_unbind_aca(struct amdgpu_device *adev, enum amdgpu_ras_block blk);
+ssize_t amdgpu_ras_aca_sysfs_read(struct device *dev, struct device_attribute *attr,
+ struct aca_handle *handle, char *buf, void *data);
+
#endif