diff --git a/share/utils/gpu/mtk_ged.sh b/share/utils/gpu/mtk_ged.sh index 763acdb..05b74c7 100644 --- a/share/utils/gpu/mtk_ged.sh +++ b/share/utils/gpu/mtk_ged.sh @@ -112,16 +112,3 @@ mtk_ged_game_mode() { Disable) apply 0 /sys/module/ged/parameters/gx_game_mode ;; esac } - -mtk_ged_dcs_mode() { - if [[ $1 == "-exec" ]]; then - local selected=$2 - else - local selected=$(fzf_select "Enable Disable" "DCS Policy mode: ") - command2db gpu.ged.dcs_mode "mtk_ged_dcs_mode -exec $selceted" FALSE - fi - case $selected in - Enable) apply 1 /sys/kernel/ged/hal/dcs_mode ;; - Disable) apply 0 /sys/kernel/ged/hal/dcs_mode ;; - esac -} diff --git a/share/utils/gpu/mtk_gpufreqv2.sh b/share/utils/gpu/mtk_gpufreqv2.sh index b8c0eec..8b79f61 100644 --- a/share/utils/gpu/mtk_gpufreqv2.sh +++ b/share/utils/gpu/mtk_gpufreqv2.sh @@ -34,16 +34,15 @@ mtk_gpufreqv2_menu() { while true; do unset_headvar header_info=( - "[] GPU: $gpu" - "[] GPU Scaling freq: $(cat /sys/module/ged/parameters/gpu_cust_boost_freq)KHz - $(cat /sys/module/ged/parameters/gpu_cust_upbound_freq)KHz" + "[] GPU: ${gpu}" + "[] GPU Scalling freq: $(cat /sys/module/ged/parameters/gpu_cust_boost_freq)KHz - $(cat /sys/module/ged/parameters/gpu_cust_upbound_freq)KHz" "[] Fixed freq & volt: $(if [[ $(awk '{print $2}' /proc/gpufreqv2/fix_target_opp_index) == "fix" ]]; then echo "Enabled"; else echo "Disabled"; fi)" "[] GPU DVFS: $(cat /sys/module/ged/parameters/gpu_dvfs_enable)" "[ϟ] GED Boosting: $(cat /sys/module/ged/parameters/ged_boost_enable)" - "[] GED DCS Policy: $(cat /sys/kernel/ged/hal/dcs_mode)" ) header "GPU Control" - selected="$(fzy_select "Set max freq\nSet min freq\nLock freq (NO DVFS)\nReset DVFS\nGED GPU DVFS\nGED Boost\nGED GPU boost\nDCS Policy mode\nBack to main menu" "")" + selected="$(fzy_select "Set max freq\nSet min freq\nLock freq (NO DVFS)\nReset DVFS\nGED GPU DVFS\nGED Boost\nGED GPU boost\nBack to main menu" "")" case "$selected" in "Set max freq") ged_max_freq ;; @@ -53,7 +52,6 @@ mtk_gpufreqv2_menu() { "GED GPU DVFS") mtk_ged_dvfs ;; "GED Boost") mtk_ged_boost ;; "GED GPU boost") mtk_ged_gpu_boost ;; - "GED DCS Policy") mtk_ged_dcs_mode ;; "Back to main menu") break ;; esac done