mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 08:07:19 +08:00
refactor: remove redundant parameter from HardwareInfo ctor
hw ip version is queried from KMD or set based on device id and rev id Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
43654bfc02
commit
1e95ed33f9
@@ -44,7 +44,7 @@ class DrmPrelimMock : public DrmMock {
|
||||
DrmPrelimMock(RootDeviceEnvironment &rootDeviceEnvironment) : DrmPrelimMock(rootDeviceEnvironment, defaultHwInfo.get()) {}
|
||||
DrmPrelimMock(RootDeviceEnvironment &rootDeviceEnvironment, HardwareInfo *inputHwInfo, bool invokeQueryEngineInfo = true) : DrmMock(rootDeviceEnvironment) {
|
||||
customHwInfo = std::make_unique<NEO::HardwareInfo>(&inputHwInfo->platform, &inputHwInfo->featureTable,
|
||||
&inputHwInfo->workaroundTable, &inputHwInfo->gtSystemInfo, inputHwInfo->capabilityTable, 0u);
|
||||
&inputHwInfo->workaroundTable, &inputHwInfo->gtSystemInfo, inputHwInfo->capabilityTable);
|
||||
customHwInfo->gtSystemInfo.MaxDualSubSlicesSupported = 64;
|
||||
rootDeviceEnvironment.setHwInfoAndInitHelpers(customHwInfo.get());
|
||||
this->ioctlHelper = std::make_unique<IoctlHelperPrelim20>(*this);
|
||||
|
||||
Reference in New Issue
Block a user