power: Introduce is_schedutil_governor

Change-Id: Ie3cfd0cb11b368cd9399a6dcea6b6cfa1f4d7916
This commit is contained in:
Michael Bestas
2019-09-30 23:04:35 +03:00
parent 4a5a366f21
commit b3a670611c
2 changed files with 6 additions and 0 deletions

View File

@@ -198,6 +198,11 @@ int is_interactive_governor(char* governor) {
return 0;
}
int is_schedutil_governor(char* governor) {
if (strncmp(governor, SCHEDUTIL_GOVERNOR, (strlen(SCHEDUTIL_GOVERNOR) + 1)) == 0) return 1;
return 0;
}
PropVal perf_get_property(const char* prop, const char* def_val) {
PropVal retVal;
if (qcopt_handle && perf_get_prop) {