diff options
Diffstat (limited to 'drivers/gpu/nvgpu/volt/volt_policy.h')
-rw-r--r-- | drivers/gpu/nvgpu/volt/volt_policy.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/volt/volt_policy.h b/drivers/gpu/nvgpu/volt/volt_policy.h index 8db79218..34c8f0f6 100644 --- a/drivers/gpu/nvgpu/volt/volt_policy.h +++ b/drivers/gpu/nvgpu/volt/volt_policy.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -68,6 +68,13 @@ struct voltage_policy_single_rail { | |||
68 | u8 rail_idx; | 68 | u8 rail_idx; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | struct voltage_policy_single_rail_multi_step { | ||
72 | struct voltage_policy_single_rail super; | ||
73 | u16 inter_switch_delay_us; | ||
74 | u32 ramp_up_step_size_uv; | ||
75 | u32 ramp_down_step_size_uv; | ||
76 | }; | ||
77 | |||
71 | u32 volt_policy_sw_setup(struct gk20a *g); | 78 | u32 volt_policy_sw_setup(struct gk20a *g); |
72 | u32 volt_policy_pmu_setup(struct gk20a *g); | 79 | u32 volt_policy_pmu_setup(struct gk20a *g); |
73 | #endif | 80 | #endif |