diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-01-14 16:40:03 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 10:38:58 -0500 |
commit | 49ead33b9f0e0ba0b528951a05986486196848ef (patch) | |
tree | d361a78e19f4a6064ef03ca8950734337708eb2f /drivers/gpu/drm/radeon/rv770_dpm.c | |
parent | ed50890de61ddf04541f823430b9ed1ed9d1e937 (diff) |
drm/radeon: comment out some currently unused 7xx dpm code
Keep it around for reference.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770_dpm.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770_dpm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770_dpm.c b/drivers/gpu/drm/radeon/rv770_dpm.c index 755a8f96fe46..306732641b23 100644 --- a/drivers/gpu/drm/radeon/rv770_dpm.c +++ b/drivers/gpu/drm/radeon/rv770_dpm.c @@ -231,6 +231,7 @@ u8 rv770_get_seq_value(struct radeon_device *rdev, MC_CG_SEQ_DRAMCONF_S0 : MC_CG_SEQ_DRAMCONF_S1; } +#if 0 int rv770_read_smc_soft_register(struct radeon_device *rdev, u16 reg_offset, u32 *value) { @@ -240,6 +241,7 @@ int rv770_read_smc_soft_register(struct radeon_device *rdev, pi->soft_regs_start + reg_offset, value, pi->sram_end); } +#endif int rv770_write_smc_soft_register(struct radeon_device *rdev, u16 reg_offset, u32 value) @@ -2075,6 +2077,7 @@ int rv770_dpm_set_power_state(struct radeon_device *rdev) return 0; } +#if 0 void rv770_dpm_reset_asic(struct radeon_device *rdev) { struct rv7xx_power_info *pi = rv770_get_pi(rdev); @@ -2087,6 +2090,7 @@ void rv770_dpm_reset_asic(struct radeon_device *rdev) if (pi->dcodt) rv770_program_dcodt_after_state_switch(rdev, boot_ps, boot_ps); } +#endif void rv770_dpm_setup_asic(struct radeon_device *rdev) { |