mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Dont create VM IDs if not supported
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9839b3049d
commit
45b005161a
@@ -99,10 +99,12 @@ Drm *Drm::create(std::unique_ptr<HwDeviceId> hwDeviceId, RootDeviceEnvironment &
|
||||
}
|
||||
|
||||
if (!drmObject->queryMemoryInfo()) {
|
||||
drmObject->setPerContextVMRequired(true);
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, "%s", "WARNING: Failed to query memory info\n");
|
||||
}
|
||||
|
||||
if (!drmObject->queryEngineInfo()) {
|
||||
drmObject->setPerContextVMRequired(true);
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, "%s", "WARNING: Failed to query engine info\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user