mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
27cc310f13
commit
aed1faab9d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue