drm/radeon: fix typo in CI dpm disable
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Nov 2014 16:05:04 +0000 (11:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Nov 2014 16:56:35 +0000 (11:56 -0500)
Need to disable DS, not enable it when disabling dpm.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/ci_dpm.c

index 51bf7980bd6a0aa43cd50898cd638fb676059f97..7092034901bd5c9e8b8906a95c96e35327950ec0 100644 (file)
@@ -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);