mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Revert "feature: Enable page faults for xe driver with debugger on"
This reverts commit 62b30fa72c.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b3807e7a36
commit
1533f07912
@@ -436,14 +436,3 @@ TEST_F(IoctlHelperXeTest, givenDebuggingEnabledWhenCallingVmBindThenWaitUserFenc
|
||||
waitUserFence = drm->waitUserFenceInputs[0];
|
||||
EXPECT_EQ(expectedTimeout, waitUserFence.timeout);
|
||||
}
|
||||
|
||||
TEST_F(IoctlHelperXeTest, givenDebuggingEnabledWhenCallinggetFlagsForVmCreateThenFaultModeIsEnabled) {
|
||||
auto executionEnvironment = std::make_unique<MockExecutionEnvironment>();
|
||||
executionEnvironment->setDebuggingMode(DebuggingMode::online);
|
||||
auto drm = DrmMockXeDebug::create(*executionEnvironment->rootDeviceEnvironments[0]);
|
||||
auto xeIoctlHelper = std::make_unique<MockIoctlHelperXeDebug>(*drm);
|
||||
uint32_t flags = xeIoctlHelper->getFlagsForVmCreate(false, false, false);
|
||||
EXPECT_EQ(flags & DRM_XE_VM_CREATE_FLAG_FAULT_MODE, static_cast<uint32_t>(DRM_XE_VM_CREATE_FLAG_FAULT_MODE));
|
||||
flags = xeIoctlHelper->getFlagsForVmCreate(false, true, false);
|
||||
EXPECT_EQ(flags & DRM_XE_VM_CREATE_FLAG_FAULT_MODE, static_cast<uint32_t>(DRM_XE_VM_CREATE_FLAG_FAULT_MODE));
|
||||
}
|
||||
Reference in New Issue
Block a user