drm/amdgpu: update check condition of query for ras page retire
authorTao Zhou <tao.zhou1@amd.com>
Thu, 18 Jan 2024 06:25:07 +0000 (14:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:26 +0000 (17:13 -0500)
commit1757bb7dab6de79c92b1d54b999a2ee1066acc1f
tree1ab9b1111292af1132552b208f76069c44bde82c
parent18d71047922e588a46a82c8e6b33b286baecd005
drm/amdgpu: update check condition of query for ras page retire

Support page retirement handling in debug mode.

v2: revert smu_v13_0_6_get_ecc_info directly.

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