refactor: remove not needed check for exec softpin

Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-03-22 15:23:06 +00:00
committed by Compute-Runtime-Automation
parent 9aa81bae75
commit d94be09020
16 changed files with 2 additions and 88 deletions

View File

@@ -63,20 +63,6 @@ Drm *Drm::create(std::unique_ptr<HwDeviceIdDrm> &&hwDeviceId, RootDeviceEnvironm
return nullptr;
}
// Detect device parameters
int hasExecSoftPin = 0;
ret = drm->getExecSoftPin(hasExecSoftPin);
if (ret != 0) {
printDebugString(debugManager.flags.PrintDebugMessages.get(), stderr, "%s", "FATAL: Cannot query Soft Pin parameter!\n");
return nullptr;
}
if (!hasExecSoftPin) {
printDebugString(debugManager.flags.PrintDebugMessages.get(), stderr, "%s",
"FATAL: Device doesn't support Soft-Pin but this is required.\n");
return nullptr;
}
// Activate the Turbo Boost Frequency feature
ret = drm->enableTurboBoost();
if (ret != 0) {