aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-12-06 12:54:06 +0000
committerAlex Deucher <[email protected]>2024-12-10 15:29:55 +0000
commit58893392989786eefd89aba48823dc3e27d37fd6 (patch)
tree9c8f50c52445e47616ba39311682a4ffab1addb5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amdgpu: Enable VCN_5_0_1 IP block (diff)
downloadkernel-58893392989786eefd89aba48823dc3e27d37fd6.tar.gz
kernel-58893392989786eefd89aba48823dc3e27d37fd6.zip
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions