diff options
| author | Stefan Wahren <[email protected]> | 2024-08-21 21:40:45 +0000 |
|---|---|---|
| committer | Maíra Canal <[email protected]> | 2024-08-22 10:57:44 +0000 |
| commit | f1a54e860b1bc8d824925b5a77f510913880e8d6 (patch) | |
| tree | 18ee4f97ec419ecedd1afc4276d0b774fe5bebca /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/ast: Remove BMC output (diff) | |
| download | kernel-f1a54e860b1bc8d824925b5a77f510913880e8d6.tar.gz kernel-f1a54e860b1bc8d824925b5a77f510913880e8d6.zip | |
drm/vc4: hdmi: Handle error case of pm_runtime_resume_and_get
The commit 0f5251339eda ("drm/vc4: hdmi: Make sure the controller is
powered in detect") introduced the necessary power management handling
to avoid register access while controller is powered down.
Unfortunately it just print a warning if pm_runtime_resume_and_get()
fails and proceed anyway.
This could happen during suspend to idle. So we must assume it is unsafe
to access the HDMI register. So bail out properly.
Fixes: 0f5251339eda ("drm/vc4: hdmi: Make sure the controller is powered in detect")
Signed-off-by: Stefan Wahren <[email protected]>
Reviewed-by: Maíra Canal <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
