diff --git a/opencl/test/unit_test/test_files/igdrcl.config b/opencl/test/unit_test/test_files/igdrcl.config index 45cb560942..2333cc007a 100644 --- a/opencl/test/unit_test/test_files/igdrcl.config +++ b/opencl/test/unit_test/test_files/igdrcl.config @@ -86,7 +86,7 @@ DirectSubmissionDiagnosticExecutionCount = 30 DirectSubmissionDisableCacheFlush = -1 DirectSubmissionDisableMonitorFence = 0 USMEvictAfterMigration = 1 -UseVmBind = 0 +UseVmBind = -1 EnableNullHardware = 0 ForceLinearImages = 0 ForceSLML3Config = 0 diff --git a/shared/source/debug_settings/debug_variables_base.inl b/shared/source/debug_settings/debug_variables_base.inl index ae6a34b90b..6588128fe0 100644 --- a/shared/source/debug_settings/debug_variables_base.inl +++ b/shared/source/debug_settings/debug_variables_base.inl @@ -209,7 +209,7 @@ DECLARE_DEBUG_VARIABLE(int32_t, ForceUserptrAlignment, -1, "-1: no force (4kb), DECLARE_DEBUG_VARIABLE(int64_t, ForceSystemMemoryPlacement, 0, "0: default, >0: (bitmask) for given Graphics Allocation Type, force system memory placement") DECLARE_DEBUG_VARIABLE(int64_t, ForceNonSystemMemoryPlacement, 0, "0: default, >0: (bitmask) for given Graphics Allocation Type, force non-system memory placement") DECLARE_DEBUG_VARIABLE(int64_t, DisableIndirectAccess, -1, "0: default, 0: Indirect access for L0 kernels is enabled, 1: Indirect is disabled") -DECLARE_DEBUG_VARIABLE(int32_t, UseVmBind, 0, "Use new residency model on Linux (requires kernel support), -1: default, 0: disabled, 1: enabled") +DECLARE_DEBUG_VARIABLE(int32_t, UseVmBind, -1, "Use new residency model on Linux (requires kernel support), -1: default, 0: disabled, 1: enabled") DECLARE_DEBUG_VARIABLE(bool, UseMaxSimdSizeToDeduceMaxWorkgroupSize, false, "With this flag on, max workgroup size is deduced using SIMD32 instead of SIMD8, this causes the max wkg size to be 4 times bigger") DECLARE_DEBUG_VARIABLE(bool, ReturnRawGpuTimestamps, false, "Driver returns raw GPU tiemstamps instead of calculated ones.") DECLARE_DEBUG_VARIABLE(bool, ForcePerDssBackedBufferProgramming, false, "Always program per-DSS memory backed buffer in preamble") diff --git a/shared/source/os_interface/linux/os_interface.cpp b/shared/source/os_interface/linux/os_interface.cpp index a534ab7cae..fdc90e5a6a 100644 --- a/shared/source/os_interface/linux/os_interface.cpp +++ b/shared/source/os_interface/linux/os_interface.cpp @@ -48,7 +48,6 @@ bool RootDeviceEnvironment::initOsInterface(std::unique_ptr &&hwDevi return false; } - memoryOperationsInterface = DrmMemoryOperationsHandler::create(*drm, rootDeviceIndex); osInterface.reset(new OSInterface()); osInterface->get()->setDrm(drm); auto hardwareInfo = getMutableHardwareInfo(); @@ -56,6 +55,7 @@ bool RootDeviceEnvironment::initOsInterface(std::unique_ptr &&hwDevi if (hwConfig->configureHwInfo(hardwareInfo, hardwareInfo, osInterface.get())) { return false; } + memoryOperationsInterface = DrmMemoryOperationsHandler::create(*drm, rootDeviceIndex); return true; } } // namespace NEO