Unwind failed suspend
Get series with b4
b4 am [email protected]Versions newest first
- v5 Latest5 patches 6 repliesIn review
Changes in v5 from the cover letter
* Take RLC patch from Alex's Van Gogh series, slight modifications
* Unwind in middle of IP suspend too
* Fix missing call to fix console
* Cover issues with DPM_FLAG_SMART_SUSPEND
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm/amdgpu: Drop PMFW RLC notifier from amdgpu_device_suspend()drivers/ drivers/ drivers/ | +0 | 2 replies | |
| 2/5 | drm/amd: Add an unwind for failures in amdgpu_device_ip_suspend_phase1()drivers/ | +16 | 4 replies | |
| 3/5 | drm/amd: Add an unwind for failures in amdgpu_device_ip_suspend_phase2()drivers/ | +33 | 0 replies | |
| 4/5 | drm/amd: Unwind for failed device suspenddrivers/ | +58 | 0 replies | |
| 5/5 | drm/amd: Reset the GPU if pmops faileddrivers/ | +11 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Alex Deucher | Antheas Kapenekakis |
|---|---|---|
| 1/5 | T-b | |
| 2/5 | R-b | |
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/5] Unwind failed suspend
If a suspend fails the PM core doesn't clean it up, the device is just left in a bad state. If this happens during memory pressure it could be a hung system from just trying to suspend.
For all phases of suspend that return an error code, add an unwind flow that will (try to) resume exactly the parts that have failed.
If this fails, then reset the GPU during complete() callback.
v5:
* Take RLC patch from Alex's Van Gogh series, slight modifications
* Unwind in middle of IP suspend too
* Fix missing call to fix console
* Cover issues with DPM_FLAG_SMART_SUSPEND
Alex Deucher (1):
drm/amdgpu: Drop PMFW RLC notifier from amdgpu_device_suspend()
Mario Limonciello (AMD) (3):
drm/amd: Reset the GPU if pmops failed
drm/amd: Add an unwind for failures in
amdgpu_device_ip_suspend_phase1()
drm/amd: Add an unwind for failures in
amdgpu_device_ip_suspend_phase2()
drm/amd: Unwind for failed device suspend
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 121 ++++++++++++++++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 11 ++ drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 18 --- drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 - 4 files changed, 117 insertions(+), 35 deletions(-)
Signature · 1 line
2.51.1