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
chr[] 91dcc66b34 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>
(cherry picked from commit ee3dc9e204)
Cc: stable@vger.kernel.org
2025-02-25 12:17:38 -05:00
..
inc drm/amdgpu: add inst to amdgpu_dpm_enable_vcn 2024-12-10 10:26:47 -05:00
legacy-dpm amdgpu/pm/legacy: fix suspend/resume issues 2025-02-25 12:17:38 -05:00
powerplay drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table 2024-12-10 10:26:50 -05:00
swsmu drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() 2025-02-12 19:47:15 -05:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu/pm: fix UVD handing in amdgpu_dpm_set_powergating_by_smu() 2025-02-12 18:13:32 -05:00
amdgpu_pm.c drm/amd/pm: fix and simplify workload handling 2024-12-02 18:36:15 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00