summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-09-16 04:59:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-09-17 00:58:34 +0300
commitf9b80514a7227c589291792cb6743b0ddf41c2bc (patch)
tree30e79a8f99994afe9b6d3796c3c221f7e7e20ff3 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent29a2f430475357f760679b249f33e7282688e292 (diff)
downloadlinux-f9b80514a7227c589291792cb6743b0ddf41c2bc.tar.xz
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 <jerome.4a4c@gmail.com> Closes: https://lore.kernel.org/amd-gfx/0ffe2692-7bfa-4821-856e-dd0f18e2c32b@amd.com/T/#me6db8ddb192626360c462b7570ed7eba0c6c9733 Suggested-by: Jérôme Lécuyer <jerome.4a4c@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 1a4dd33cc6e1baaa81efdbe68227a19f51c50f20) Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions