diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 53468680de70..ece84fde76a6 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -601,6 +601,13 @@ enum radeon_pm_state_type { | |||
601 | POWER_STATE_TYPE_PERFORMANCE, | 601 | POWER_STATE_TYPE_PERFORMANCE, |
602 | }; | 602 | }; |
603 | 603 | ||
604 | enum radeon_pm_clock_mode_type { | ||
605 | POWER_MODE_TYPE_DEFAULT, | ||
606 | POWER_MODE_TYPE_LOW, | ||
607 | POWER_MODE_TYPE_MID, | ||
608 | POWER_MODE_TYPE_HIGH, | ||
609 | }; | ||
610 | |||
604 | struct radeon_voltage { | 611 | struct radeon_voltage { |
605 | enum radeon_voltage_type type; | 612 | enum radeon_voltage_type type; |
606 | /* gpio voltage */ | 613 | /* gpio voltage */ |
@@ -641,6 +648,7 @@ struct radeon_power_state { | |||
641 | int num_clock_modes; | 648 | int num_clock_modes; |
642 | /* currently selected clock mode */ | 649 | /* currently selected clock mode */ |
643 | struct radeon_pm_clock_info *current_clock_mode; | 650 | struct radeon_pm_clock_info *current_clock_mode; |
651 | struct radeon_pm_clock_info *requested_clock_mode; | ||
644 | struct radeon_pm_clock_info *default_clock_mode; | 652 | struct radeon_pm_clock_info *default_clock_mode; |
645 | /* non clock info about this state */ | 653 | /* non clock info about this state */ |
646 | struct radeon_pm_non_clock_info non_clock_info; | 654 | struct radeon_pm_non_clock_info non_clock_info; |
@@ -678,6 +686,7 @@ struct radeon_pm { | |||
678 | /* number of valid power states */ | 686 | /* number of valid power states */ |
679 | int num_power_states; | 687 | int num_power_states; |
680 | struct radeon_power_state *current_power_state; | 688 | struct radeon_power_state *current_power_state; |
689 | struct radeon_power_state *requested_power_state; | ||
681 | struct radeon_power_state *default_power_state; | 690 | struct radeon_power_state *default_power_state; |
682 | }; | 691 | }; |
683 | 692 | ||