1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

lang/intel-compute-runtime: update to 22.14.22890

Changes:	https://github.com/intel/compute-runtime/compare/22.13.22789...22.14.22890
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2022-04-01 18:23:59 +00:00
parent 2d97c45752
commit 1ee0dd7a8f
3 changed files with 28 additions and 4 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= compute-runtime
DISTVERSION= 22.13.22789
DISTVERSION= 22.14.22890
CATEGORIES= lang
PKGNAMEPREFIX= intel-
PKGNAMESUFFIX= -${FLAVOR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1647954805
SHA256 (intel-compute-runtime-22.13.22789_GH0.tar.gz) = b6edbbeb72e7173a4d6ae78871c8a6f65563160661dd21224c9a0e2bb7286421
SIZE (intel-compute-runtime-22.13.22789_GH0.tar.gz) = 5252140
TIMESTAMP = 1648837439
SHA256 (intel-compute-runtime-22.14.22890_GH0.tar.gz) = 16a0fab74f6732c63cf8f666d40db5bbeecfaaf73061f69fd608a7f058ba1738
SIZE (intel-compute-runtime-22.14.22890_GH0.tar.gz) = 5290076

View File

@ -1,5 +1,14 @@
Limit resizable BAR to Linux as NEO doesn't use libpci.
level_zero/tools/source/sysman/linux/os_sysman_imp.cpp:17:10: fatal error: 'linux/pci_regs.h' file not found
#include <linux/pci_regs.h>
^~~~~~~~~~~~~~~~~~
level_zero/tools/source/sysman/linux/os_sysman_imp.cpp:333:27: error: use of undeclared identifier 'PCI_BRIDGE_CONTROL'
unsigned int offset = PCI_BRIDGE_CONTROL; // Bridge control offset in Header of PCI config space
^
level_zero/tools/source/sysman/linux/os_sysman_imp.cpp:342:26: error: use of undeclared identifier 'PCI_BRIDGE_CTL_BUS_RESET'
resetValue = value | PCI_BRIDGE_CTL_BUS_RESET;
^
level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp:15:10: fatal error: 'linux/pci_regs.h' file not found
#include <linux/pci_regs.h>
^~~~~~~~~~~~~~~~~~
@ -34,6 +43,21 @@ level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp:204:55: error: use of un
this->preadFunction(fdConfig, configMemory.get(), PCI_CFG_SPACE_EXP_SIZE, 0);
^
--- level_zero/tools/source/sysman/linux/os_sysman_imp.cpp.orig 2022-04-01 18:23:59 UTC
+++ level_zero/tools/source/sysman/linux/os_sysman_imp.cpp
@@ -14,7 +14,12 @@
#include "sysman/linux/firmware_util/firmware_util.h"
+#ifdef __linux__
#include <linux/pci_regs.h>
+#else
+#define PCI_BRIDGE_CONTROL 0x3e
+#define PCI_BRIDGE_CTL_BUS_RESET 0x40
+#endif
namespace L0 {
--- level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp.orig 2021-08-11 16:12:33 UTC
+++ level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp
@@ -12,7 +12,9 @@