projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3b22e
)
drm/amdgpu: Enable RAS error injection after mode2 reset on Aldebaran
author
Mukul Joshi
<mukul.joshi@amd.com>
Mon, 20 Sep 2021 19:29:23 +0000
(15:29 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 13 Oct 2021 18:14:35 +0000
(14:14 -0400)
Add the missing call to re-enable RAS error injections on the Aldebaran
mode2 reset code path.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aldebaran.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/aldebaran.c
b/drivers/gpu/drm/amd/amdgpu/aldebaran.c
index 148f6c3343ab8de829cb701e901d69ae8b64fd93..bcfdb63b1d4215e98d037dafb3edddfc01277cdf 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/aldebaran.c
+++ b/
drivers/gpu/drm/amd/amdgpu/aldebaran.c
@@
-307,6
+307,8
@@
static int aldebaran_mode2_restore_ip(struct amdgpu_device *adev)
adev->ip_blocks[i].status.late_initialized = true;
}
+ amdgpu_ras_set_error_query_ready(adev, true);
+
amdgpu_device_set_cg_state(adev, AMD_CG_STATE_GATE);
amdgpu_device_set_pg_state(adev, AMD_PG_STATE_GATE);