drm/amdgpu: update error condition check for umc_v12_0_query_error_address
authorTao Zhou <tao.zhou1@amd.com>
Wed, 17 Jan 2024 08:35:59 +0000 (16:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 20:47:24 +0000 (15:47 -0500)
commita9e4f61df1cce8ffb3b86b99c12a33c2eeb57c39
treec3a1f33c1ce54d981baf46b54bb17c0958fefe5a
parent601429cca96b4af3be44172c3b64e4228515dbe1
drm/amdgpu: update error condition check for umc_v12_0_query_error_address

Deferred error is also taken into account.

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