Hi,
The VIC governor is configured by our boot init script “/etc/systemd/nv.sh”. You can modify the nv.sh script to set static max value for VIC clock.
Snippet of VIC configuration in /etc/systemd/nv.sh
case "${SOCFAMILY}" in
tegra186 | tegra194)
VIC_GOV_PARAM_PATH="/sys/devices/13e10000.host1x/15340000.vic"
VIC_DEV_PATH="${VIC_GOV_PARAM_PATH}/devfreq/15340000.vic"
if [ -e "${VIC_DEV_PATH}/available_governors" ]; then
read governors < "${VIC_DEV_PATH}/available_governors"
case "${governors}" in
*wmark_active*)
DEVFREQ_WMARK_ACTIVE_GOV=1
;;
esac
fi
if [ "${DEVFREQ_WMARK_ACTIVE_GOV}" -eq 1 ]; then
if [ -e "${VIC_DEV_PATH}/governor" ]; then
echo wmark_active > "${VIC_DEV_PATH}/governor"
fi
if [ -e "${VIC_GOV_PARAM_PATH}/load_target" ]; then
echo 700 > "${VIC_GOV_PARAM_PATH}/load_target"
fi
if [ -e "${VIC_GOV_PARAM_PATH}/load_max" ]; then
echo 900 > "${VIC_GOV_PARAM_PATH}/load_max"
fi
if [ -e "${VIC_GOV_PARAM_PATH}/block_window" ]; then
echo 0 > "${VIC_GOV_PARAM_PATH}/block_window"
fi
if [ -e "${VIC_GOV_PARAM_PATH}/smooth" ]; then
echo 0 > "${VIC_GOV_PARAM_PATH}/smooth"
fi
if [ -e "${VIC_GOV_PARAM_PATH}/freq_boost_en" ]; then
echo 0 > "${VIC_GOV_PARAM_PATH}/freq_boost_en"
fi
fi
;;
*)