We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2307b7 commit c188622Copy full SHA for c188622
drivers/gpu/drm/i915/gt/intel_gt_types.h
@@ -83,6 +83,9 @@ enum intel_submission_method {
83
struct gt_defaults {
84
u32 min_freq;
85
u32 max_freq;
86
+
87
+ u8 rps_up_threshold;
88
+ u8 rps_down_threshold;
89
};
90
91
enum intel_gt_type {
drivers/gpu/drm/i915/gt/intel_rps.c
@@ -2014,7 +2014,9 @@ void intel_rps_init(struct intel_rps *rps)
2014
2015
/* Set default thresholds in % */
2016
rps->power.up_threshold = 95;
2017
+ rps_to_gt(rps)->defaults.rps_up_threshold = rps->power.up_threshold;
2018
rps->power.down_threshold = 85;
2019
+ rps_to_gt(rps)->defaults.rps_down_threshold = rps->power.down_threshold;
2020
2021
/* Finally allow us to boost to max by default */
2022
rps->boost_freq = rps->max_freq;
0 commit comments