projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27cc310
)
drm/amdgpu: only skip get ecc info for aldebaran
author
Stanley.Yang
<Stanley.Yang@amd.com>
Fri, 3 Dec 2021 05:08:41 +0000
(13:08 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 7 Dec 2021 18:07:55 +0000
(13:07 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 28678c8f4eb225f4b0bf1727c8af9abfcba08cbf..1043d41b6807777f05a6aeb0810ee95f64d72b0c 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@
-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;
/*