drm/amdgpu: make MCA IPID parse global
authorTao Zhou <tao.zhou1@amd.com>
Tue, 30 Sep 2025 02:56:00 +0000 (10:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Nov 2025 14:58:31 +0000 (09:58 -0500)
commitcd74132be8461429b5e98991aa15edeeb81a9f56
tree968ebf58244386f4dcde794d08d5c11587901157
parent4104c0a454f6a4d1e0d14895d03c0e7bdd0c8240
drm/amdgpu: make MCA IPID parse global

So we can call it in other blocks.

v2: add a new IPID parse interface for umc and we can
    implement it for each ASIC.

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_v12_0.c