drm/amdgpu: export umc error address convert interface
authorTao Zhou <tao.zhou1@amd.com>
Wed, 21 Sep 2022 08:25:33 +0000 (16:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:42:15 +0000 (09:42 -0400)
commitc19a5f325a7fb5b353976d66d6a92b35c0322138
tree44d4c8addafcb091466ac5dbfd5084ed8c937b64
parentbaf28cc10ade932cec707e3fd723e6c2850efe3a
drm/amdgpu: export umc error address convert interface

Make it global so we can convert specific mca address.

v2: rename query_error_address_per_channel to
convert_ras_error_address

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_umc.h
drivers/gpu/drm/amd/amdgpu/umc_v6_7.c