Add missing ioctl to kmd migrated resource

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-07-01 15:18:23 +00:00
committed by Compute-Runtime-Automation
parent a85ae676e7
commit 816e95443f
2 changed files with 1 additions and 31 deletions

View File

@@ -191,8 +191,7 @@ bool DrmMemoryManager::isKmdMigrationAvailable(uint32_t rootDeviceIndex) {
auto hwInfo = executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->getHardwareInfo();
auto &hwHelper = NEO::HwHelper::get(hwInfo->platform.eRenderCoreFamily);
auto useKmdMigration = hwHelper.isKmdMigrationSupported(*hwInfo) &&
this->getDrm(rootDeviceIndex).isVmBindAvailable();
auto useKmdMigration = hwHelper.isKmdMigrationSupported(*hwInfo);
if (DebugManager.flags.UseKmdMigration.get() != -1) {
useKmdMigration = DebugManager.flags.UseKmdMigration.get();