diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-06-25 15:40:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 19:16:18 -0400 |
commit | 422a56bc8a5aaa6d48b244a1ba0484ef4d62a7ac (patch) | |
tree | 8c25a9e64134c9d1a7e9fb0c6fe6f298a7f2a2f5 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | 98243917d7cd64be923aad76c563de7e23b0b386 (diff) |
drm/radeon/dpm: add pre/post_set_power_state callback (sumo)
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.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index 3b8b4954af87..b0d055a20d5d 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c | |||
@@ -1627,7 +1627,9 @@ static struct radeon_asic sumo_asic = { | |||
1627 | .setup_asic = &sumo_dpm_setup_asic, | 1627 | .setup_asic = &sumo_dpm_setup_asic, |
1628 | .enable = &sumo_dpm_enable, | 1628 | .enable = &sumo_dpm_enable, |
1629 | .disable = &sumo_dpm_disable, | 1629 | .disable = &sumo_dpm_disable, |
1630 | .pre_set_power_state = &sumo_dpm_pre_set_power_state, | ||
1630 | .set_power_state = &sumo_dpm_set_power_state, | 1631 | .set_power_state = &sumo_dpm_set_power_state, |
1632 | .post_set_power_state = &sumo_dpm_post_set_power_state, | ||
1631 | .display_configuration_changed = &sumo_dpm_display_configuration_changed, | 1633 | .display_configuration_changed = &sumo_dpm_display_configuration_changed, |
1632 | .fini = &sumo_dpm_fini, | 1634 | .fini = &sumo_dpm_fini, |
1633 | .get_sclk = &sumo_dpm_get_sclk, | 1635 | .get_sclk = &sumo_dpm_get_sclk, |