2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/pm/legacy-dpm
chr[] ee3dc9e204 amdgpu/pm/legacy: fix suspend/resume issues
resume and irq handler happily races in set_power_state()

* amdgpu_legacy_dpm_compute_clocks() needs lock
* protect irq work handler
* fix dpm_enabled usage

v2: fix clang build, integrate Lijo's comments (Alex)

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2524
Fixes: 3712e7a494 ("drm/amd/pm: unified lock protections in amdgpu_dpm.c")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> # on Oland PRO
Signed-off-by: chr[] <chris@rudorff.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-02-25 11:43:58 -05:00
..
cik_dpm.h
kv_dpm.c amdgpu/pm/legacy: fix suspend/resume issues 2025-02-25 11:43:58 -05:00
kv_dpm.h
kv_smc.c
legacy_dpm.c amdgpu/pm/legacy: fix suspend/resume issues 2025-02-25 11:43:58 -05:00
legacy_dpm.h
Makefile
ppsmc.h
r600_dpm.h drm/amd/pm: Clean up errors in r600_dpm.h 2023-08-09 09:42:42 -04:00
si_dpm.c amdgpu/pm/legacy: fix suspend/resume issues 2025-02-25 11:43:58 -05:00
si_dpm.h
si_smc.c
sislands_smc.h drm/amd/pm: Clean up errors in sislands_smc.h 2023-08-09 09:42:44 -04:00