]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: add umc query error status function
authorStanley.Yang <Stanley.Yang@amd.com>
Thu, 7 Apr 2022 15:56:07 +0000 (23:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Apr 2022 17:50:35 +0000 (13:50 -0400)
commit05eee31c0821c7209409ef0991b95df3511c0326
treee913b01f5c74d007dd58d6cb49d15d83a2b18a4d
parent1754cea1763e2bdc6a2153220440fe9aa9e0f2c9
drm/amdgpu: add umc query error status function

In order to debug ras error, driver will print IPID/SYND/MISC0
register value if detect correctable or uncorrectable error.
Provide umc_query_error_status_helper function to reduce code
redundancy.

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-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