diff options
author | chr[] <chris@rudorff.com> | 2025-02-12 16:51:38 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-25 11:43:58 -0500 |
commit | ee3dc9e204d271c9c7a8d4d38a0bce4745d33e71 (patch) | |
tree | d8b995cce11e751d1ead94661bb8ea1af27f1845 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
parent | 7dc340540363a008cee1e160e8f2a4f034f196d4 (diff) |
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: 3712e7a49459 ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions