Skip to content

Commit

Permalink
mediatek/gpu: Fix typo on GED GPU min frequency
Browse files Browse the repository at this point in the history
Signed-off-by: Rem01Gaming <Rem01_Gaming@proton.me>
  • Loading branch information
Rem01Gaming committed Dec 13, 2024
1 parent f2aa3de commit e857394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/utils/gpu/mtk_ged.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ ged_min_freq() {
local index=$2
else
if [[ $gpu_node_id == 1 ]]; then
index=$(grep "$(fzf_select "$gpu_available_freqs" "Maximum GPU Frequency: ")" /proc/gpufreq/gpufreq_opp_dump | awk '{print $1}')
index=$(grep "$(fzf_select "$gpu_available_freqs" "Minimum GPU Frequency: ")" /proc/gpufreq/gpufreq_opp_dump | awk '{print $1}')
elif [[ $gpu_node_id == 2 ]]; then
index=$(grep "$(fzf_select "$gpu_available_freqs" "Maximum GPU Frequency: ")" /proc/gpufreqv2/gpu_working_opp_table | awk '{print $1}')
index=$(grep "$(fzf_select "$gpu_available_freqs" "Minimum GPU Frequency: ")" /proc/gpufreqv2/gpu_working_opp_table | awk '{print $1}')
fi
local index=${index:1:-1}
command2db gpu.ged.min_freq "ged_min_freq -exec $index" FALSE
Expand Down

0 comments on commit e857394

Please sign in to comment.