diff options
| author | Rodrigo Vivi <[email protected]> | 2024-12-17 23:05:47 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-12-20 19:17:02 +0000 |
| commit | f2eedadf19979109415928f5ea9ba9a73262aa8f (patch) | |
| tree | efb43d10a50c1bb6a7380d503cee17cc5b7967b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | drm/xe/pf: Use correct function to check LMEM provisioning (diff) | |
| download | kernel-f2eedadf19979109415928f5ea9ba9a73262aa8f.tar.gz kernel-f2eedadf19979109415928f5ea9ba9a73262aa8f.zip | |
drm/xe/pm: Also avoid missing outer rpm warning on system suspend
Fix the false-positive "Missing outer runtime PM protection" warning
triggered by
release_async_domains() -> intel_runtime_pm_get_noresume() ->
xe_pm_runtime_get_noresume()
during system suspend.
xe_pm_runtime_get_noresume() is supposed to warn if the device is not in
the runtime resumed state, using xe_pm_runtime_get_if_in_use() for this.
However the latter function will fail if called during runtime or system
suspend/resume, regardless of whether the device is runtime resumed or
not.
Based on the above suppress the warning during system suspend/resume,
similarly to how this is done during runtime suspend/resume.
Suggested-by: Imre Deak <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
