Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
coretech/control_center: Disable remaining userspace boosting mechanisms
Browse files Browse the repository at this point in the history
This commit acts as a follow up to 26a7d58 ("coretech/houston:
Disable fps_boost/ddrfreq_hispeed_enable by default").

While I believe most of these nodes are inherently no-op'ed given
the nature of our in-kernel boosting framework, let's shut them
down explicitly just to be on the side.

Between this commit and it's predecessor we have now effectively
shut down the following userspace integration points:

	/sys/module/houston/parameters/fps_boost_enable
	/sys/module/houston/parameters/cpufreq_hispeed_enable
	/sys/module/houston/parameters/ddrfreq_hispeed_enable
	/sys/module/houston/parameters/control_center/time_measure
	/sys/module/control_center/parameters/cpu_boost_enable
	/sys/module/control_center/parameters/ddr_boost_enable
	/sys/module/control_center/parameters/ddr_lock_enable

Good riddance.

Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
  • Loading branch information
0ctobot committed Jan 13, 2020
1 parent b16b7ea commit d932aa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coretech/control_center/control_center.c
Expand Up @@ -36,14 +36,14 @@
cc_logv("%s: cost: %lldus, max: %lldus\n", __func__, t, tmax); \
}\
}
static bool cc_time_measure = true;
static bool cc_time_measure = false;
module_param_named(time_measure, cc_time_measure, bool, 0644);

/* boost enable options */
static bool cc_cpu_boost_enable = true;
static bool cc_cpu_boost_enable = false;
module_param_named(cpu_boost_enable, cc_cpu_boost_enable, bool, 0644);

bool cc_ddr_boost_enable = true;
bool cc_ddr_boost_enable = false;
module_param_named(ddr_boost_enable, cc_ddr_boost_enable, bool, 0644);

/* record */
Expand Down

0 comments on commit d932aa1

Please sign in to comment.