Files
Arch-R/scripts/perfnorm

12 lines
427 B
Plaintext
Raw Permalink Normal View History

2026-02-10 01:46:47 -03:00
#!/bin/bash
# Arch R - Normal Governor (Balanced)
# Sets CPU, GPU, and DMC to ondemand/balanced governors
# Based on dArkOS perfnorm for RK3326
gpu="ff400000"
DMC_GOV="/sys/devices/platform/dmc/devfreq/dmc/governor"
echo simple_ondemand > /sys/devices/platform/${gpu}.gpu/devfreq/${gpu}.gpu/governor
echo ondemand > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
[ -f "$DMC_GOV" ] && echo dmc_ondemand > "$DMC_GOV"