diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-11-12 16:23:35 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-11-19 13:48:55 +0000 |
commit | f988ff1f1c4ce47a90144ea66784949a734918d8 (patch) | |
tree | 2fba0062e87a55dde749097577e617b0a858a9ec /lang/intel-compute-runtime/files/patch-no-perf | |
parent | multimedia/arcan: update to 0.6.1 (diff) |
lang/intel-compute-runtime: update to 21.46.21636
Changes: https://github.com/intel/compute-runtime/compare/21.45.21574...21.46.21636
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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/intel-compute-runtime/files/patch-no-perf b/lang/intel-compute-runtime/files/patch-no-perf index 04729eaa066a..088e2b1541bf 100644 --- a/lang/intel-compute-runtime/files/patch-no-perf +++ b/lang/intel-compute-runtime/files/patch-no-perf @@ -32,20 +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-22 17:59:55 UTC +--- level_zero/tools/source/sysman/linux/os_sysman_imp.cpp.orig 2021-11-12 16:23:35 UTC +++ level_zero/tools/source/sysman/linux/os_sysman_imp.cpp -@@ -47,9 +47,11 @@ ze_result_t LinuxSysmanImp::init() { - auto rootPciPathOfGpuDevice = getPciRootPortDirectoryPath(realRootPath); - PlatformMonitoringTech::create(pParentSysmanDeviceImp->deviceHandles, pFsAccess, rootPciPathOfGpuDevice, mapOfSubDeviceIdToPmtObject); +@@ -36,9 +36,11 @@ ze_result_t LinuxSysmanImp::init() { + } + DEBUG_BREAK_IF(nullptr == pSysfsAccess); +#ifdef __linux__ pPmuInterface = PmuInterface::create(this); DEBUG_BREAK_IF(nullptr == pPmuInterface); +#endif - auto loc = realRootPath.find_last_of('/'); - std::string pciBDF = realRootPath.substr(loc + 1, std::string::npos); - pFwUtilInterface = FirmwareUtil::create(pciBDF); + pFwUtilInterface = FirmwareUtil::create(pDrm->getPciPath()); + return createPmtHandles(); + } --- 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 @@ |