Skip to content

Commit

Permalink
[AArch64] Keep max ratio within OPP and Hybrid lists
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed Mar 7, 2024
1 parent e7757ee commit affbe44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aarch64/corefreqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ void Query_DeviceTree(unsigned int cpu)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
cpufreq_for_each_valid_entry(table, pFreqPolicy->freq_table)
{
if (table->frequency != max_freq && table->frequency != min_freq) {
if (table->frequency != min_freq) {
if (boost < (BOOST(SIZE) - BOOST(18C)))
{
Core->Boost[BOOST(18C) + boost] = table->frequency
Expand Down

0 comments on commit affbe44

Please sign in to comment.