mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: Init wait utils after hwInfo init for both OS
Resolves: HSD-18041922513 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ead0842763
commit
b43b23b6ed
@@ -68,6 +68,10 @@ void RootDeviceEnvironment::initDebuggerL0(Device *neoDevice) {
|
||||
this->debugger = DebuggerL0::create(neoDevice);
|
||||
}
|
||||
|
||||
void RootDeviceEnvironment::initWaitUtils() {
|
||||
WaitUtils::init(WaitUtils::WaitpkgUse::tpause, *hwInfo);
|
||||
}
|
||||
|
||||
const HardwareInfo *RootDeviceEnvironment::getHardwareInfo() const {
|
||||
return hwInfo.get();
|
||||
}
|
||||
@@ -86,8 +90,6 @@ void RootDeviceEnvironment::setHwInfo(const HardwareInfo *hwInfo) {
|
||||
if (debugManager.flags.DisableSupportForL0Debugger.get() == 1) {
|
||||
this->hwInfo->capabilityTable.l0DebuggerSupported = false;
|
||||
}
|
||||
|
||||
WaitUtils::init(WaitUtils::WaitpkgUse::tpause, *hwInfo);
|
||||
}
|
||||
|
||||
bool RootDeviceEnvironment::isFullRangeSvm() const {
|
||||
@@ -178,6 +180,7 @@ void RootDeviceEnvironment::initHelpers() {
|
||||
initCompilerProductHelper();
|
||||
initReleaseHelper();
|
||||
initAilConfigurationHelper();
|
||||
initWaitUtils();
|
||||
}
|
||||
|
||||
void RootDeviceEnvironment::initializeGfxCoreHelperFromHwInfo() {
|
||||
|
||||
@@ -67,6 +67,7 @@ struct RootDeviceEnvironment : NonCopyableClass {
|
||||
void initOsTime();
|
||||
void initGmm();
|
||||
void initDebuggerL0(Device *neoDevice);
|
||||
void initWaitUtils();
|
||||
MOCKABLE_VIRTUAL void initDummyAllocation();
|
||||
void setDummyBlitProperties(uint32_t rootDeviceIndex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user