diff options
| author | Alan Previn <[email protected]> | 2023-08-02 12:06:11 -0700 |
|---|---|---|
| committer | Daniele Ceraolo Spurio <[email protected]> | 2023-08-15 13:28:13 -0700 |
| commit | ac765b7018f6dfa9b6986e55d1f6fceb3f4c8011 (patch) | |
| tree | 6afd1bc12fb6ee677f4cf206b1613d9a480a8c61 /tools/perf/scripts/python | |
| parent | 95c23e2085f28e2c763ca202fdc37a1392982c16 (diff) | |
drm/i915/pxp/mtl: intel_pxp_init_hw needs runtime-pm inside pm-complete
In the case of failed suspend flow or cases where the kernel does not go
into full suspend but goes from suspend_prepare back to resume_complete,
we get called for a pm_complete but without runtime_pm guaranteed.
Thus, ensure we take the runtime_pm when calling intel_pxp_init_hw
from within intel_pxp_resume_complete.
v2: resume_complete and runtime_resume should abstract a common
helper with different wakeref requirements. (Daniele)
Signed-off-by: Alan Previn <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions