summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files/patch-max_freq
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-01-31 17:58:49 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-01-31 17:58:49 +0000
commit10e59f80c2d308bed80c159021c08d7854c73ab2 (patch)
tree4526ea157a81b8ef282660f6af0cdbb5fc828bca /lang/intel-compute-runtime/files/patch-max_freq
parentdevel/rust-cbindgen: update to 0.13.0 (diff)
lang/intel-compute-runtime: update to 20.04.15428
Changes: https://github.com/intel/compute-runtime/compare/20.03.15346...20.04.15428 Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=524738
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-max_freq')
-rw-r--r--lang/intel-compute-runtime/files/patch-max_freq10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/intel-compute-runtime/files/patch-max_freq b/lang/intel-compute-runtime/files/patch-max_freq
index 004465bd0f42..eb5239cf2649 100644
--- a/lang/intel-compute-runtime/files/patch-max_freq
+++ b/lang/intel-compute-runtime/files/patch-max_freq
@@ -3,9 +3,9 @@
$ clinfo | fgrep clock
Max clock frequency 0MHz
---- runtime/os_interface/linux/drm_neo.cpp.orig 2019-12-09 17:18:41 UTC
-+++ runtime/os_interface/linux/drm_neo.cpp
-@@ -16,6 +16,11 @@
+--- core/os_interface/linux/drm_neo.cpp.orig 2020-01-23 10:09:13 UTC
++++ core/os_interface/linux/drm_neo.cpp
+@@ -18,6 +18,11 @@
#include <cstring>
#include <fstream>
@@ -17,7 +17,7 @@
namespace NEO {
const char *Drm::sysFsDefaultGpuPath = "/drm/card0";
-@@ -66,6 +71,16 @@ int Drm::getEnabledPooledEu(int &enabled) {
+@@ -68,6 +73,16 @@ int Drm::getEnabledPooledEu(int &enabled) {
int Drm::getMaxGpuFrequency(int &maxGpuFrequency) {
maxGpuFrequency = 0;
@@ -34,7 +34,7 @@
int deviceID = 0;
int ret = getDeviceID(deviceID);
if (ret != 0) {
-@@ -87,6 +102,7 @@ int Drm::getMaxGpuFrequency(int &maxGpuFrequency) {
+@@ -89,6 +104,7 @@ int Drm::getMaxGpuFrequency(int &maxGpuFrequency) {
ifs >> maxGpuFrequency;
ifs.close();