Fixups for cancelled hibernate
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v1 RFC3 patches 19 repliesSuperseded
Changes in v2 from the cover letter
* pick up tag
* rebase on linux-pm/bleeding-edge
* fix lkp robot issue
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PM: Allow device drivers to manage the frozen state of a deviceDocumentation/ drivers/ include/ | +18 | 2 replies | |
| 2/2 | drm/amd: Manage frozen state internallydrivers/ drivers/ | +11 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Muhammad Usama Anjum |
|---|---|
| 1/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Fixups for cancelled hibernate
Muhammad Usama Anjun's recent series for being able to cancel the hibernate sequence [1] exposes a bug with amdgpu handling for skipping the thaw step.
Because the thaw step is skipped in most cases, cancelling the hibernate means that the device is left in an inconsistent state.
Add support to the PM core to let a driver track it's frozen state when an error code is returned during thaw(). This will ensure that the poweroff() and restore() callbacks get run.
I suggest this patch series merge through linux-pm.
v2:
* pick up tag
* rebase on linux-pm/bleeding-edge
* fix lkp robot issue
Mario Limonciello (AMD) (2):
PM: Allow device drivers to manage the frozen state of a device drm/amd: Manage frozen state internally
Documentation/driver-api/pm/devices.rst | 8 ++++++++ drivers/base/power/main.c | 7 +++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 ++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- include/linux/pm.h | 3 +++ 5 files changed, 29 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0