Merge pull request #1327 from brooksytech/dev
Big / Little core selection S922X & RK3588
This commit is contained in:
commit
8641d64914
5 changed files with 31 additions and 2 deletions
|
@ -20,6 +20,10 @@ DEVICE_TEMP_SENSOR=("/sys/class/hwmon/hwmon0/temp1_input")
|
|||
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy2")
|
||||
GPU_FREQ=("/sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu")
|
||||
|
||||
# Affinity
|
||||
SLOW_CORES="taskset -c 0-1"
|
||||
FAST_CORES="taskset -c 2-5"
|
||||
|
||||
# Volume Keys
|
||||
DEVICE_KEY_VOLUMEDOWN=114
|
||||
DEVICE_KEY_VOLUMEUP=115
|
||||
|
|
|
@ -105,6 +105,19 @@ then
|
|||
${PERFORMANCE_MODE}
|
||||
fi
|
||||
|
||||
### Set the cores to use
|
||||
CORES=$(get_setting "cores" "${PLATFORM}" "${ROMNAME##*/}")
|
||||
if [ "${CORES}" = "little" ]
|
||||
then
|
||||
EMUPERF="${SLOW_CORES}"
|
||||
elif [ "${CORES}" = "big" ]
|
||||
then
|
||||
EMUPERF="${FAST_CORES}"
|
||||
else
|
||||
### All..
|
||||
unset EMUPERF
|
||||
fi
|
||||
|
||||
### We need the original system cooling profile later so get it now!
|
||||
COOLINGPROFILE=$(get_setting cooling.profile)
|
||||
|
||||
|
@ -425,7 +438,7 @@ else
|
|||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
if [[ "${CORE}" =~ "custom" ]]
|
||||
then
|
||||
RUNTHIS='${EMUPERF} /usr/bin/${RABIN} -L /storage/.config/retroarch/cores/${EMU}.so --config ${RATMPCONF} --appendconfig ${RAAPPENDCONF} "${ROMNAME}"'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="emulationstation"
|
||||
PKG_VERSION="4f2c5f7"
|
||||
PKG_VERSION="5f153d3"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
|
|
|
@ -17,6 +17,10 @@ DEVICE_TEMP_SENSOR=("/sys/class/hwmon/hwmon0/temp1_input")
|
|||
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy2")
|
||||
GPU_FREQ=("/sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu")
|
||||
|
||||
# Affinity
|
||||
SLOW_CORES="taskset -c 0-1"
|
||||
FAST_CORES="taskset -c 2-5"
|
||||
|
||||
# Volume Keys
|
||||
DEVICE_KEY_VOLUMEDOWN=114
|
||||
DEVICE_KEY_VOLUMEUP=115
|
||||
|
|
|
@ -10,3 +10,11 @@ DEVICE_BRIGHTNESS="128"
|
|||
|
||||
# GPIOS
|
||||
DEVICE_TEMP_SENSOR="/sys/devices/virtual/thermal/thermal_zone*/temp"
|
||||
|
||||
# FREQ Governors
|
||||
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy4" "/sys/devices/system/cpu/cpufreq/policy6")
|
||||
GPU_FREQ=("/sys/devices/platform/fb000000.gpu/devfreq/fb000000.gpu")
|
||||
|
||||
# Affinity
|
||||
SLOW_CORES="taskset -c 0-3"
|
||||
FAST_CORES="taskset -c 4-7"
|
||||
|
|
Loading…
Reference in a new issue