drm/radeon: comment out some currently unused 7xx dpm code
Keep it around for reference. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ed50890de6
commit
49ead33b9f
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -278,8 +278,6 @@ void rv770_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev,
|
|||
void rv770_get_engine_memory_ss(struct radeon_device *rdev);
|
||||
|
||||
/* smc */
|
||||
int rv770_read_smc_soft_register(struct radeon_device *rdev,
|
||||
u16 reg_offset, u32 *value);
|
||||
int rv770_write_smc_soft_register(struct radeon_device *rdev,
|
||||
u16 reg_offset, u32 value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue