Commit aed1faab authored by Stanley.Yang's avatar Stanley.Yang Committed by Alex Deucher

drm/amdgpu: only skip get ecc info for aldebaran

skip get ecc info for aldebarn through check ip version
do not affect other asic type
Signed-off-by: default avatarStanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 27cc310f
......@@ -898,7 +898,8 @@ static void amdgpu_ras_get_ecc_info(struct amdgpu_device *adev, struct ras_err_d
int ret = 0;
/* skip get ecc info during gpu recovery */
if (atomic_read(&ras->in_recovery) == 1)
if (atomic_read(&ras->in_recovery) == 1 &&
adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2))
return;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment