diff options
| author | Yang Wang <[email protected]> | 2024-01-02 02:43:23 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-15 23:35:36 +0000 |
| commit | 37973b69eab43d46dd316372b5739cc4c52a42fd (patch) | |
| tree | d5b984f306f6353f21cd795fe60c21252f664bde /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amdgpu: add amdgpu ras aca query interface (diff) | |
| download | kernel-37973b69eab43d46dd316372b5739cc4c52a42fd.tar.gz kernel-37973b69eab43d46dd316372b5739cc4c52a42fd.zip | |
drm/amdgpu: add aca sysfs support
add aca sysfs node 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_ras.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 3 |
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 |
