drm/radeon: comment out some currently unused si dpm code
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Jan 2015 21:18:32 +0000 (16:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:38:53 +0000 (10:38 -0500)
Keep it around for reference.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/si_dpm.c

index 8e36c24b995dddf7712680b214e85a99f72a8d57..7be11651b7e6c8e5fded976e33ea1ba65ace4775 100644 (file)
@@ -3362,11 +3362,13 @@ int si_dpm_force_performance_level(struct radeon_device *rdev,
        return 0;
 }
 
+#if 0
 static int si_set_boot_state(struct radeon_device *rdev)
 {
        return (si_send_msg_to_smc(rdev, PPSMC_MSG_SwitchToInitialState) == PPSMC_Result_OK) ?
                0 : -EINVAL;
 }
+#endif
 
 static int si_set_sw_state(struct radeon_device *rdev)
 {
@@ -6579,13 +6581,14 @@ void si_dpm_post_set_power_state(struct radeon_device *rdev)
        ni_update_current_ps(rdev, new_ps);
 }
 
-
+#if 0
 void si_dpm_reset_asic(struct radeon_device *rdev)
 {
        si_restrict_performance_levels_before_switch(rdev);
        si_disable_ulv(rdev);
        si_set_boot_state(rdev);
 }
+#endif
 
 void si_dpm_display_configuration_changed(struct radeon_device *rdev)
 {