diff options
| author | chr[] <[email protected]> | 2025-02-12 15:51:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-02-25 17:17:38 +0000 |
| commit | 91dcc66b34beb72dde8412421bdc1b4cd40e4fb8 (patch) | |
| tree | 3ce6163d2a2503a785d221bdbff3efc7c8dcdeb3 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | Linux 6.14-rc4 (diff) | |
| download | kernel-91dcc66b34beb72dde8412421bdc1b4cd40e4fb8.tar.gz kernel-91dcc66b34beb72dde8412421bdc1b4cd40e4fb8.zip | |
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 <[email protected]>
Tested-by: Maciej S. Szmigiero <[email protected]> # on Oland PRO
Signed-off-by: chr[] <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit ee3dc9e204d271c9c7a8d4d38a0bce4745d33e71)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
