mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
drm/amd/display: Remove duplicate dm_pp_power_level enum
This is really just a copy of dm_pp_clocks_state, so just use that one. Thanks to Matthias Kaehlke for spotting this. Signed-off-by: Harry Wentland <[email protected]> Reviewed-by: Roman Li <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
1 parent
f215a57dca
commit
cc3ca53332
1 file changed
+1
-18
@@ -239,25 +239,8 @@ enum dm_acpi_display_type {
|
||||
AcpiDisplayType_DFP6 = 12
|
||||
};
|
||||
|
||||
enum dm_pp_power_level {
|
||||
DM_PP_POWER_LEVEL_INVALID,
|
||||
DM_PP_POWER_LEVEL_ULTRA_LOW,
|
||||
DM_PP_POWER_LEVEL_LOW,
|
||||
DM_PP_POWER_LEVEL_NOMINAL,
|
||||
DM_PP_POWER_LEVEL_PERFORMANCE,
|
||||
|
||||
DM_PP_POWER_LEVEL_0 = DM_PP_POWER_LEVEL_ULTRA_LOW,
|
||||
DM_PP_POWER_LEVEL_1 = DM_PP_POWER_LEVEL_LOW,
|
||||
DM_PP_POWER_LEVEL_2 = DM_PP_POWER_LEVEL_NOMINAL,
|
||||
DM_PP_POWER_LEVEL_3 = DM_PP_POWER_LEVEL_PERFORMANCE,
|
||||
DM_PP_POWER_LEVEL_4 = DM_PP_CLOCKS_DPM_STATE_LEVEL_3 + 1,
|
||||
DM_PP_POWER_LEVEL_5 = DM_PP_CLOCKS_DPM_STATE_LEVEL_4 + 1,
|
||||
DM_PP_POWER_LEVEL_6 = DM_PP_CLOCKS_DPM_STATE_LEVEL_5 + 1,
|
||||
DM_PP_POWER_LEVEL_7 = DM_PP_CLOCKS_DPM_STATE_LEVEL_6 + 1,
|
||||
};
|
||||
|
||||
struct dm_pp_power_level_change_request {
|
||||
enum dm_pp_power_level power_level;
|
||||
enum dm_pp_clocks_state power_level;
|
||||
};
|
||||
|
||||
struct dm_pp_clock_for_voltage_req {
|
||||
|
||||
Reference in new issue
Block a user