Commit 7d44243
drm/amdgpu: Fix the return for gpu mode1_reset
amdgpu_device_mode1_reset will return gpu mode1_reset
succeed (ret = 0) as long as wait_for_bootloader call
succeed, regardless of the status reported by smu or
psp firmware. This results to driver continue executing
recovery even smu or psp fail to perform mode1 reset.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent a9366b9 commit 7d44243
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4701 | 4701 | | |
4702 | 4702 | | |
4703 | 4703 | | |
4704 | | - | |
| 4704 | + | |
4705 | 4705 | | |
4706 | 4706 | | |
4707 | 4707 | | |
4708 | 4708 | | |
4709 | | - | |
| 4709 | + | |
4710 | 4710 | | |
4711 | 4711 | | |
4712 | 4712 | | |
| |||
4717 | 4717 | | |
4718 | 4718 | | |
4719 | 4719 | | |
| 4720 | + | |
| 4721 | + | |
| 4722 | + | |
| 4723 | + | |
| 4724 | + | |
4720 | 4725 | | |
4721 | 4726 | | |
| 4727 | + | |
| 4728 | + | |
| 4729 | + | |
| 4730 | + | |
4722 | 4731 | | |
4723 | 4732 | | |
4724 | 4733 | | |
| |||
0 commit comments