summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-11-07 17:05:04 +0100
committerAlex Deucher <alexander.deucher@amd.com>2014-11-12 17:56:35 +0100
commit129acb7c0b682512e89c4f65c33593d50f2f49a9 (patch)
tree72cd51dfbd59b193ea6a39cb3e49cc86922b3a28 /drivers/gpu/drm/radeon
parentdrm/radeon: rework CI dpm thermal setup (diff)
downloadlinux-129acb7c0b682512e89c4f65c33593d50f2f49a9.tar.xz
linux-129acb7c0b682512e89c4f65c33593d50f2f49a9.zip
drm/radeon: fix typo in CI dpm disable
Need to disable DS, not enable it when disabling dpm. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index 51bf7980bd6a..7092034901bd 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -4759,7 +4759,7 @@ void ci_dpm_disable(struct radeon_device *rdev)
ci_enable_spread_spectrum(rdev, false);
ci_enable_auto_throttle_source(rdev, RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL, false);
ci_stop_dpm(rdev);
- ci_enable_ds_master_switch(rdev, true);
+ ci_enable_ds_master_switch(rdev, false);
ci_enable_ulv(rdev, false);
ci_clear_vc(rdev);
ci_reset_to_default(rdev);