aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ci_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-01-14 16:15:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-01-22 10:38:53 -0500
commit64e580447f063fce4f4ed0f21b01bec979a3ed7a (patch)
tree85c8ef37e323d8521591404e9cbbec5951aff99e /drivers/gpu/drm/radeon/ci_dpm.c
parentgpu: drm: radeon: radeon_object: Remove unused function (diff)
downloadlinux-dev-64e580447f063fce4f4ed0f21b01bec979a3ed7a.tar.xz
linux-dev-64e580447f063fce4f4ed0f21b01bec979a3ed7a.zip
drm/radeon: comment out some currently unused ci dpm code
Keep it around for reference. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index 9d4699b946d7..bcd2f1fe803f 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -1731,10 +1731,12 @@ static int ci_set_overdrive_target_tdp(struct radeon_device *rdev,
return 0;
}
+#if 0
static int ci_set_boot_state(struct radeon_device *rdev)
{
return ci_enable_sclk_mclk_dpm(rdev, false);
}
+#endif
static u32 ci_get_average_sclk_freq(struct radeon_device *rdev)
{
@@ -5376,10 +5378,12 @@ int ci_dpm_set_power_state(struct radeon_device *rdev)
return 0;
}
+#if 0
void ci_dpm_reset_asic(struct radeon_device *rdev)
{
ci_set_boot_state(rdev);
}
+#endif
void ci_dpm_display_configuration_changed(struct radeon_device *rdev)
{