[PATCH] amdgpu/pm/legacy: fix suspend/resume issues
Maciej S. Szmigiero
mail at maciej.szmigiero.name
Sun Feb 16 20:47:04 UTC 2025
On 12.02.2025 17:11, Alex Deucher wrote:
> From: "chr[]" <chris at rudorff.com>
>
> 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
>
> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2524
> Fixes: 3712e7a49459 ("drm/amd/pm: unified lock protections in amdgpu_dpm.c")
> Signed-off-by: chr[] <chris at rudorff.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
Tested-by: Maciej S. Szmigiero <mail at maciej.szmigiero.name> # on Oland PRO
Thanks,
Maciej
More information about the amd-gfx
mailing list