diff options
author | yipechai <YiPeng.Chai@amd.com> | 2022-02-08 11:05:49 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-14 15:08:41 -0500 |
commit | a3ace75cdb6979e18ec9ad00862445ff71bb8a71 (patch) | |
tree | 55abc22de7d26ab5a0c51718f95f28b45a74542c /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | |
parent | 683bac6b00e1158bf3c56dfd9f55ea34acebcf90 (diff) | |
download | lwn-a3ace75cdb6979e18ec9ad00862445ff71bb8a71.tar.gz lwn-a3ace75cdb6979e18ec9ad00862445ff71bb8a71.zip |
drm/amdgpu: Optimize amdgpu_umc_ras_late_init/amdgpu_umc_ras_fini function code
Optimize amdgpu_umc_ras_late_init/amdgpu_umc_ras_fini function code.
Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h index 4db0526d0be4..ec15b3640399 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h @@ -85,4 +85,8 @@ void amdgpu_umc_fill_error_record(struct ras_err_data *err_data, uint64_t retired_page, uint32_t channel_index, uint32_t umc_inst); + +int amdgpu_umc_process_ras_data_cb(struct amdgpu_device *adev, + void *ras_error_status, + struct amdgpu_iv_entry *entry); #endif |