fix: init releaseHelper after ipVersion setup

Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-06-06 11:41:57 +00:00
committed by Compute-Runtime-Automation
parent 831363e51b
commit dadd19e17b
6 changed files with 86 additions and 2 deletions

View File

@@ -430,7 +430,11 @@ int Drm::setupHardwareInfo(const DeviceDescriptor *device, bool setupFeatureTabl
auto deviceId = hwInfo->platform.usDeviceID;
auto revisionId = hwInfo->platform.usRevId;
rootDeviceEnvironment.setHwInfoAndInitHelpers(device->pHwInfo);
rootDeviceEnvironment.setHwInfo(device->pHwInfo);
rootDeviceEnvironment.initProductHelper();
rootDeviceEnvironment.initGfxCoreHelper();
rootDeviceEnvironment.initApiGfxCoreHelper();
rootDeviceEnvironment.initCompilerProductHelper();
hwInfo->platform.usDeviceID = deviceId;
hwInfo->platform.usRevId = revisionId;
@@ -438,6 +442,7 @@ int Drm::setupHardwareInfo(const DeviceDescriptor *device, bool setupFeatureTabl
const auto productFamily = hwInfo->platform.eProductFamily;
setupIoctlHelper(productFamily);
ioctlHelper->setupIpVersion();
rootDeviceEnvironment.initReleaseHelper();
Drm::QueryTopologyData topologyData = {};