diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-11-01 09:14:19 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-06 16:48:12 +0100 |
| commit | ab4369c5841e7f87bdc52aa8a67363c4e6524211 (patch) | |
| tree | d807b43dc2ae43d8ef2a5d9a465252138a773d90 /meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-add-support-to-read-frequency-output-if-using-intel-.patch | |
| parent | 5ecbf9bab404af0de7d0f058d1620f40dae0d2d8 (diff) | |
| download | meta-openembedded-ab4369c5841e7f87bdc52aa8a67363c4e6524211.tar.gz | |
kodi: Add krypton/17.0 recipe
remove obsoleted xbmc recipes
rename to recipes-mediacenter
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-add-support-to-read-frequency-output-if-using-intel-.patch')
| -rw-r--r-- | meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-add-support-to-read-frequency-output-if-using-intel-.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-add-support-to-read-frequency-output-if-using-intel-.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-add-support-to-read-frequency-output-if-using-intel-.patch new file mode 100644 index 0000000000..d638550e9b --- /dev/null +++ b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0003-add-support-to-read-frequency-output-if-using-intel-.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From 4ef1e9dab9193f1a5305d25c8eda97f8f06ea154 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Stephan Raue <stephan@openelec.tv> | ||
| 3 | Date: Mon, 1 Sep 2014 03:16:37 +0200 | ||
| 4 | Subject: [PATCH 3/3] add support to read frequency output if using intel's | ||
| 5 | pstate driver | ||
| 6 | |||
| 7 | --- | ||
| 8 | xbmc/utils/CPUInfo.cpp | 2 ++ | ||
| 9 | 1 file changed, 2 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/xbmc/utils/CPUInfo.cpp b/xbmc/utils/CPUInfo.cpp | ||
| 12 | index 5e2ebbd..fd04d5a 100644 | ||
| 13 | --- a/xbmc/utils/CPUInfo.cpp | ||
| 14 | +++ b/xbmc/utils/CPUInfo.cpp | ||
| 15 | @@ -274,6 +274,8 @@ CCPUInfo::CCPUInfo(void) | ||
| 16 | m_fProcTemperature = fopen("/sys/class/thermal/thermal_zone0/temp", "r"); // On Raspberry PIs | ||
| 17 | |||
| 18 | m_fCPUFreq = fopen ("/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq", "r"); | ||
| 19 | + if (m_fCPUFreq == NULL) | ||
| 20 | + m_fCPUFreq = fopen ("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq", "r"); | ||
| 21 | if (!m_fCPUFreq) | ||
| 22 | { | ||
| 23 | m_cpuInfoForFreq = true; | ||
| 24 | -- | ||
| 25 | 2.10.1 | ||
| 26 | |||
