mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
9aa81bae75
commit
d94be09020
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user