drm/amdgpu: support to convert dedicated umc mca address
authorTao Zhou <tao.zhou1@amd.com>
Wed, 21 Sep 2022 08:43:47 +0000 (16:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:42:21 +0000 (09:42 -0400)
commit1014bd1cb32552b732fd0f6ff4e68f32188d59e7
tree3876720a8c47c7ad08bf5c5343b12100b05a8c28
parentc19a5f325a7fb5b353976d66d6a92b35c0322138
drm/amdgpu: support to convert dedicated umc mca address

Update umc error address query interface, the mca address can be read
from register or input from parameter.

TODO: define a common address conversion function to simplify the 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/umc_v6_7.c