aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ci_dpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.h b/drivers/gpu/drm/radeon/ci_dpm.h
index 93bbed977ffb..84e3d3bcf9f3 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.h
+++ b/drivers/gpu/drm/radeon/ci_dpm.h
@@ -33,6 +33,8 @@
33 33
34#define CISLANDS_MAX_HARDWARE_POWERLEVELS 2 34#define CISLANDS_MAX_HARDWARE_POWERLEVELS 2
35 35
36#define CISLANDS_UNUSED_GPIO_PIN 0x7F
37
36struct ci_pl { 38struct ci_pl {
37 u32 mclk; 39 u32 mclk;
38 u32 sclk; 40 u32 sclk;
@@ -237,6 +239,7 @@ struct ci_power_info {
237 u32 sclk_dpm_key_disabled; 239 u32 sclk_dpm_key_disabled;
238 u32 mclk_dpm_key_disabled; 240 u32 mclk_dpm_key_disabled;
239 u32 pcie_dpm_key_disabled; 241 u32 pcie_dpm_key_disabled;
242 u32 thermal_sclk_dpm_enabled;
240 struct ci_pcie_perf_range pcie_gen_performance; 243 struct ci_pcie_perf_range pcie_gen_performance;
241 struct ci_pcie_perf_range pcie_lane_performance; 244 struct ci_pcie_perf_range pcie_lane_performance;
242 struct ci_pcie_perf_range pcie_gen_powersaving; 245 struct ci_pcie_perf_range pcie_gen_powersaving;
@@ -264,6 +267,7 @@ struct ci_power_info {
264 bool caps_automatic_dc_transition; 267 bool caps_automatic_dc_transition;
265 bool caps_sclk_throttle_low_notification; 268 bool caps_sclk_throttle_low_notification;
266 bool caps_dynamic_ac_timing; 269 bool caps_dynamic_ac_timing;
270 bool caps_od_fuzzy_fan_control_support;
267 /* flags */ 271 /* flags */
268 bool thermal_protection; 272 bool thermal_protection;
269 bool pcie_performance_request; 273 bool pcie_performance_request;
@@ -285,6 +289,10 @@ struct ci_power_info {
285 struct ci_ps current_ps; 289 struct ci_ps current_ps;
286 struct radeon_ps requested_rps; 290 struct radeon_ps requested_rps;
287 struct ci_ps requested_ps; 291 struct ci_ps requested_ps;
292 /* fan control */
293 bool fan_ctrl_is_in_default_mode;
294 u32 t_min;
295 u32 fan_ctrl_default_mode;
288}; 296};
289 297
290#define CISLANDS_VOLTAGE_CONTROL_NONE 0x0 298#define CISLANDS_VOLTAGE_CONTROL_NONE 0x0