diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-10-22 17:59:55 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-10-29 16:06:08 +0000 |
commit | 555e4a7a55f5813c605d89893dc6e2de798174a4 (patch) | |
tree | 8c82c8277951855b41443147f260857b15399077 /lang/intel-compute-runtime/files/patch-no-perf | |
parent | devel/libphonenumber: update to 8.12.36 (diff) |
lang/intel-compute-runtime: update to 21.43.21438
Changes: https://github.com/intel/compute-runtime/compare/21.42.21270...21.43.21438
Reported by: GitHub (watch releases)
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-no-perf')
-rw-r--r-- | lang/intel-compute-runtime/files/patch-no-perf | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/intel-compute-runtime/files/patch-no-perf b/lang/intel-compute-runtime/files/patch-no-perf index b41ffa6c4826..04729eaa066a 100644 --- a/lang/intel-compute-runtime/files/patch-no-perf +++ b/lang/intel-compute-runtime/files/patch-no-perf @@ -32,19 +32,20 @@ level_zero/tools/source/sysman/linux/pmu/pmu_imp.h:12:10: fatal error: 'linux/pe } LinuxEngineImp::LinuxEngineImp(OsSysman *pOsSysman, zes_engine_group_t type, uint32_t engineInstance) : engineGroup(type), engineInstance(engineInstance) { ---- level_zero/tools/source/sysman/linux/os_sysman_imp.cpp.orig 2021-10-01 16:31:56 UTC +--- level_zero/tools/source/sysman/linux/os_sysman_imp.cpp.orig 2021-10-22 17:59:55 UTC +++ level_zero/tools/source/sysman/linux/os_sysman_imp.cpp -@@ -45,8 +45,10 @@ ze_result_t LinuxSysmanImp::init() { +@@ -47,9 +47,11 @@ ze_result_t LinuxSysmanImp::init() { auto rootPciPathOfGpuDevice = getPciRootPortDirectoryPath(realRootPath); PlatformMonitoringTech::create(pParentSysmanDeviceImp->deviceHandles, pFsAccess, rootPciPathOfGpuDevice, mapOfSubDeviceIdToPmtObject); +#ifdef __linux__ pPmuInterface = PmuInterface::create(this); + DEBUG_BREAK_IF(nullptr == pPmuInterface); +#endif - - return ZE_RESULT_SUCCESS; - } + auto loc = realRootPath.find_last_of('/'); + std::string pciBDF = realRootPath.substr(loc + 1, std::string::npos); + pFwUtilInterface = FirmwareUtil::create(pciBDF); --- level_zero/tools/source/sysman/linux/os_sysman_imp.h.orig 2021-10-01 16:31:56 UTC +++ level_zero/tools/source/sysman/linux/os_sysman_imp.h @@ -14,7 +14,9 @@ |