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

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

index 0b2929de9f41b6839eb0e0f63b5f88bae70fe392..db08f17be76b47ea0d312e57ff292f5d83eba221 100644 (file)
@@ -2277,6 +2277,7 @@ static void btc_update_requested_ps(struct radeon_device *rdev,
        eg_pi->requested_rps.ps_priv = &eg_pi->requested_ps;
 }
 
+#if 0
 void btc_dpm_reset_asic(struct radeon_device *rdev)
 {
        rv770_restrict_performance_levels_before_switch(rdev);
@@ -2284,6 +2285,7 @@ void btc_dpm_reset_asic(struct radeon_device *rdev)
        btc_set_boot_state_timing(rdev);
        rv770_set_boot_state(rdev);
 }
+#endif
 
 int btc_dpm_pre_set_power_state(struct radeon_device *rdev)
 {