drm/amdgpu: define RAS convert_error_address API
authorTao Zhou <tao.zhou1@amd.com>
Tue, 27 Sep 2022 03:36:46 +0000 (11:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Oct 2022 15:05:17 +0000 (11:05 -0400)
commit44420ac5f855f5704d8f939926ed145f99e49e55
tree514fd7dae8dce55efcc669d3a2a6ef9f6004faea
parentcdbb816b5bfeb69ad925805d99b2ec312b241f1c
drm/amdgpu: define RAS convert_error_address API

Make the code reusable and remove redundant code.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
drivers/gpu/drm/amd/amdgpu/umc_v6_7.c