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
Lijo Lazar 5889339298 drm/amd/pm: Revert state if force level fails
Before forcing level, CG/PG is disabled or enabled depending on the new
level. However if the force level operation fails, CG/PG state remains
modified. Revert the state change on failure. Also, move invalid
operation checks to the beginning before any logic that could change SOC
state.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-12-10 10:29:55 -05:00
..
inc drm/amdgpu: add inst to amdgpu_dpm_enable_vcn 2024-12-10 10:26:47 -05:00
legacy-dpm drm/amd: Add the capability to mark certain firmware as "required" 2024-12-10 10:26:51 -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/amd/pm: Add smu_v13_0_12 support 2024-12-10 10:27:45 -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/amd/pm: Revert state if force level fails 2024-12-10 10:29:55 -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