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 44e94fe commit 9a43102Copy full SHA for 9a43102
drivers/platform/x86/amd/pmf/sps.c
@@ -297,6 +297,7 @@ int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf)
297
298
switch (pmf->current_profile) {
299
case PLATFORM_PROFILE_PERFORMANCE:
300
+ case PLATFORM_PROFILE_BALANCED_PERFORMANCE:
301
mode = POWER_MODE_PERFORMANCE;
302
break;
303
case PLATFORM_PROFILE_BALANCED:
@@ -391,6 +392,7 @@ static int amd_pmf_profile_set(struct device *dev,
391
392
static int amd_pmf_hidden_choices(void *drvdata, unsigned long *choices)
393
{
394
set_bit(PLATFORM_PROFILE_QUIET, choices);
395
+ set_bit(PLATFORM_PROFILE_BALANCED_PERFORMANCE, choices);
396
397
return 0;
398
}
0 commit comments