OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aeeac6
)
drm/amdgpu: load PSP RL in resume path
author
Tao Zhou
<tao.zhou1@amd.com>
Fri, 15 Oct 2021 06:29:38 +0000
(14:29 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:14:33 +0000
(17:14 -0400)
Some registers' access will fail without PSP RL after resume.
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_psp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index
2bfe068
..
88274c2
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@
-2623,6
+2623,12
@@
static int psp_resume(void *handle)
goto failed;
}
+ ret = psp_rl_load(adev);
+ if (ret) {
+ dev_err(adev->dev, "PSP load RL failed!\n");
+ goto failed;
+ }
+
if (adev->gmc.xgmi.num_physical_nodes > 1) {
ret = psp_xgmi_initialize(psp, false, true);
/* Warning the XGMI seesion initialize failure