diff options
| author | Mario Limonciello <[email protected]> | 2025-09-16 01:59:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-09-16 21:58:34 +0000 |
| commit | f9b80514a7227c589291792cb6743b0ddf41c2bc (patch) | |
| tree | 30e79a8f99994afe9b6d3796c3c221f7e7e20ff3 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c | |
| parent | drm/amd/display: Allow RX6xxx & RX7700 to invoke amdgpu_irq_get/put (diff) | |
| download | kernel-f9b80514a7227c589291792cb6743b0ddf41c2bc.tar.gz kernel-f9b80514a7227c589291792cb6743b0ddf41c2bc.zip | |
drm/amd: Only restore cached manual clock settings in restore if OD enabled
If OD is not enabled then restoring cached clock settings doesn't make
sense and actually leads to errors in resume.
Check if enabled before restoring settings.
Fixes: 4e9526924d09 ("drm/amd: Restore cached manual clock settings during resume")
Reported-by: Jérôme Lécuyer <[email protected]>
Closes: https://lore.kernel.org/amd-gfx/[email protected]/T/#me6db8ddb192626360c462b7570ed7eba0c6c9733
Suggested-by: Jérôme Lécuyer <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 1a4dd33cc6e1baaa81efdbe68227a19f51c50f20)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c')
0 files changed, 0 insertions, 0 deletions
