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[] 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
..
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 11:43:58 -05:00
powerplay drm/amdgpu: update the handle ptr in is_idle 2025-02-25 11:43:58 -05:00
swsmu drm/amd/pm: Fetch current power limit from PMFW 2025-02-19 15:16:18 -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: Generate bad page threshold cper records 2025-02-17 14:09:30 -05:00
amdgpu_pm.c drm/amd/pm: Remove unnecessary device state checks 2025-02-12 21:04:06 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00