projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f6e9f
)
drm/amdgpu: update bad state check in GPU recovery
author
Tao Zhou
<tao.zhou1@amd.com>
Thu, 1 Aug 2024 08:26:27 +0000
(16:26 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:02 +0000
(11:11 -0400)
Return RMA status without message print.
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_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index
3a43754
..
f595ba6
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@
-5498,7
+5498,7
@@
int amdgpu_do_asic_reset(struct list_head *device_list_handle,
* bad_page_threshold value to fix this once
* probing driver again.
*/
- if (!amdgpu_ras_
eeprom_check_err_threshold
(tmp_adev)) {
+ if (!amdgpu_ras_
is_rma
(tmp_adev)) {
/* must succeed. */
amdgpu_ras_resume(tmp_adev);
} else {