diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-01-16 14:35:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 19:16:20 -0400 |
commit | fee3d744bf3a0484f2f3ece587cccdffe33f2a15 (patch) | |
tree | 4f44c34353ade97ad555ffa20e78239963f8bf69 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | e8a9539fa098623ae3af1e077b49794917ea073d (diff) |
drm/radeon/dpm: add pre/post_set_power_state callback (cayman)
This properly implemented dynamic state adjustment by
using a working copy of the requested and current
power states.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index 83e6bf4ac408..2b4a922716b1 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -599,7 +599,9 @@ int ni_dpm_init(struct radeon_device *rdev); | |||
599 | void ni_dpm_setup_asic(struct radeon_device *rdev); | 599 | void ni_dpm_setup_asic(struct radeon_device *rdev); |
600 | int ni_dpm_enable(struct radeon_device *rdev); | 600 | int ni_dpm_enable(struct radeon_device *rdev); |
601 | void ni_dpm_disable(struct radeon_device *rdev); | 601 | void ni_dpm_disable(struct radeon_device *rdev); |
602 | int ni_dpm_pre_set_power_state(struct radeon_device *rdev); | ||
602 | int ni_dpm_set_power_state(struct radeon_device *rdev); | 603 | int ni_dpm_set_power_state(struct radeon_device *rdev); |
604 | void ni_dpm_post_set_power_state(struct radeon_device *rdev); | ||
603 | void ni_dpm_fini(struct radeon_device *rdev); | 605 | void ni_dpm_fini(struct radeon_device *rdev); |
604 | u32 ni_dpm_get_sclk(struct radeon_device *rdev, bool low); | 606 | u32 ni_dpm_get_sclk(struct radeon_device *rdev, bool low); |
605 | u32 ni_dpm_get_mclk(struct radeon_device *rdev, bool low); | 607 | u32 ni_dpm_get_mclk(struct radeon_device *rdev, bool low); |