mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-22 19:29:06 +08:00
Add missing ioctl to kmd migrated resource
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a85ae676e7
commit
816e95443f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user