Commit 64e58044 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: comment out some currently unused ci dpm code

Keep it around for reference.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bcd705a0
...@@ -1731,10 +1731,12 @@ static int ci_set_overdrive_target_tdp(struct radeon_device *rdev, ...@@ -1731,10 +1731,12 @@ static int ci_set_overdrive_target_tdp(struct radeon_device *rdev,
return 0; return 0;
} }
#if 0
static int ci_set_boot_state(struct radeon_device *rdev) static int ci_set_boot_state(struct radeon_device *rdev)
{ {
return ci_enable_sclk_mclk_dpm(rdev, false); return ci_enable_sclk_mclk_dpm(rdev, false);
} }
#endif
static u32 ci_get_average_sclk_freq(struct radeon_device *rdev) 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) ...@@ -5376,10 +5378,12 @@ int ci_dpm_set_power_state(struct radeon_device *rdev)
return 0; return 0;
} }
#if 0
void ci_dpm_reset_asic(struct radeon_device *rdev) void ci_dpm_reset_asic(struct radeon_device *rdev)
{ {
ci_set_boot_state(rdev); ci_set_boot_state(rdev);
} }
#endif
void ci_dpm_display_configuration_changed(struct radeon_device *rdev) void ci_dpm_display_configuration_changed(struct radeon_device *rdev)
{ {
......
...@@ -184,6 +184,7 @@ PPSMC_Result ci_send_msg_to_smc(struct radeon_device *rdev, PPSMC_Msg msg) ...@@ -184,6 +184,7 @@ PPSMC_Result ci_send_msg_to_smc(struct radeon_device *rdev, PPSMC_Msg msg)
return (PPSMC_Result)tmp; return (PPSMC_Result)tmp;
} }
#if 0
PPSMC_Result ci_wait_for_smc_inactive(struct radeon_device *rdev) PPSMC_Result ci_wait_for_smc_inactive(struct radeon_device *rdev)
{ {
u32 tmp; u32 tmp;
...@@ -201,6 +202,7 @@ PPSMC_Result ci_wait_for_smc_inactive(struct radeon_device *rdev) ...@@ -201,6 +202,7 @@ PPSMC_Result ci_wait_for_smc_inactive(struct radeon_device *rdev)
return PPSMC_Result_OK; return PPSMC_Result_OK;
} }
#endif
int ci_load_smc_ucode(struct radeon_device *rdev, u32 limit) int ci_load_smc_ucode(struct radeon_device *rdev, u32 limit)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment