diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 669feb689bfc..ab61aaa887bb 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -176,6 +176,8 @@ void radeon_pm_suspend(struct radeon_device *rdev); | |||
176 | void radeon_pm_resume(struct radeon_device *rdev); | 176 | void radeon_pm_resume(struct radeon_device *rdev); |
177 | void radeon_combios_get_power_modes(struct radeon_device *rdev); | 177 | void radeon_combios_get_power_modes(struct radeon_device *rdev); |
178 | void radeon_atombios_get_power_modes(struct radeon_device *rdev); | 178 | void radeon_atombios_get_power_modes(struct radeon_device *rdev); |
179 | void radeon_atom_set_voltage(struct radeon_device *rdev, u16 level); | ||
180 | void rs690_pm_info(struct radeon_device *rdev); | ||
179 | 181 | ||
180 | /* | 182 | /* |
181 | * Fences. | 183 | * Fences. |
@@ -618,7 +620,8 @@ enum radeon_dynpm_state { | |||
618 | DYNPM_STATE_DISABLED, | 620 | DYNPM_STATE_DISABLED, |
619 | DYNPM_STATE_MINIMUM, | 621 | DYNPM_STATE_MINIMUM, |
620 | DYNPM_STATE_PAUSED, | 622 | DYNPM_STATE_PAUSED, |
621 | DYNPM_STATE_ACTIVE | 623 | DYNPM_STATE_ACTIVE, |
624 | DYNPM_STATE_SUSPENDED, | ||
622 | }; | 625 | }; |
623 | enum radeon_dynpm_action { | 626 | enum radeon_dynpm_action { |
624 | DYNPM_ACTION_NONE, | 627 | DYNPM_ACTION_NONE, |
@@ -647,15 +650,18 @@ enum radeon_pm_profile_type { | |||
647 | PM_PROFILE_DEFAULT, | 650 | PM_PROFILE_DEFAULT, |
648 | PM_PROFILE_AUTO, | 651 | PM_PROFILE_AUTO, |
649 | PM_PROFILE_LOW, | 652 | PM_PROFILE_LOW, |
653 | PM_PROFILE_MID, | ||
650 | PM_PROFILE_HIGH, | 654 | PM_PROFILE_HIGH, |
651 | }; | 655 | }; |
652 | 656 | ||
653 | #define PM_PROFILE_DEFAULT_IDX 0 | 657 | #define PM_PROFILE_DEFAULT_IDX 0 |
654 | #define PM_PROFILE_LOW_SH_IDX 1 | 658 | #define PM_PROFILE_LOW_SH_IDX 1 |
655 | #define PM_PROFILE_HIGH_SH_IDX 2 | 659 | #define PM_PROFILE_MID_SH_IDX 2 |
656 | #define PM_PROFILE_LOW_MH_IDX 3 | 660 | #define PM_PROFILE_HIGH_SH_IDX 3 |
657 | #define PM_PROFILE_HIGH_MH_IDX 4 | 661 | #define PM_PROFILE_LOW_MH_IDX 4 |
658 | #define PM_PROFILE_MAX 5 | 662 | #define PM_PROFILE_MID_MH_IDX 5 |
663 | #define PM_PROFILE_HIGH_MH_IDX 6 | ||
664 | #define PM_PROFILE_MAX 7 | ||
659 | 665 | ||
660 | struct radeon_pm_profile { | 666 | struct radeon_pm_profile { |
661 | int dpms_off_ps_idx; | 667 | int dpms_off_ps_idx; |
@@ -744,6 +750,7 @@ struct radeon_pm { | |||
744 | int default_power_state_index; | 750 | int default_power_state_index; |
745 | u32 current_sclk; | 751 | u32 current_sclk; |
746 | u32 current_mclk; | 752 | u32 current_mclk; |
753 | u32 current_vddc; | ||
747 | struct radeon_i2c_chan *i2c_bus; | 754 | struct radeon_i2c_chan *i2c_bus; |
748 | /* selected pm method */ | 755 | /* selected pm method */ |
749 | enum radeon_pm_method pm_method; | 756 | enum radeon_pm_method pm_method; |