drm/amdgpu: load PSP RL in resume path
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>
This commit is contained in:
parent
5aeeac6fa3
commit
c72942c167
@ -2623,6 +2623,12 @@ static int psp_resume(void *handle)
|
|||||||
goto failed;
|
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) {
|
if (adev->gmc.xgmi.num_physical_nodes > 1) {
|
||||||
ret = psp_xgmi_initialize(psp, false, true);
|
ret = psp_xgmi_initialize(psp, false, true);
|
||||||
/* Warning the XGMI seesion initialize failure
|
/* Warning the XGMI seesion initialize failure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user