mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Revert "feature: enable recoverable pagefault"
This reverts commit 713df81dbf.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e95b45b908
commit
ce9202ab9d
@@ -11,7 +11,6 @@
|
||||
#include "shared/source/os_interface/product_helper.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/engine_descriptor_helper.h"
|
||||
#include "shared/test/common/libult/linux/drm_query_mock.h"
|
||||
#include "shared/test/common/mocks/linux/mock_drm_memory_manager.h"
|
||||
#include "shared/test/common/mocks/linux/mock_os_context_linux.h"
|
||||
#include "shared/test/common/mocks/linux/mock_os_time_linux.h"
|
||||
@@ -2597,24 +2596,3 @@ TEST_F(IoctlHelperXeTest, whenQueryDeviceIdAndRevisionThenProperValuesAreSet) {
|
||||
EXPECT_EQ(mockDeviceId, hwInfo->platform.usDeviceID);
|
||||
EXPECT_EQ(mockRevisionId, hwInfo->platform.usRevId);
|
||||
}
|
||||
|
||||
TEST_F(IoctlHelperXeTest, givenUseKmdMigrationSetWhenCallingHasKmdMigrationSupportThenReturnCorrectValue) {
|
||||
DebugManagerStateRestore restorer;
|
||||
|
||||
auto executionEnvironment = std::make_unique<MockExecutionEnvironment>();
|
||||
executionEnvironment->rootDeviceEnvironments[0]->initGmm();
|
||||
executionEnvironment->initializeMemoryManager();
|
||||
|
||||
DrmQueryMock drm(*executionEnvironment->rootDeviceEnvironments[0]);
|
||||
drm.pageFaultSupported = true;
|
||||
drm.ioctlHelper.reset(new IoctlHelperXe(drm));
|
||||
|
||||
for (auto useKmdMigration : {-1, 0, 1}) {
|
||||
debugManager.flags.UseKmdMigration.set(useKmdMigration);
|
||||
if (useKmdMigration == -1) {
|
||||
EXPECT_FALSE(drm.hasKmdMigrationSupport());
|
||||
} else {
|
||||
EXPECT_EQ(useKmdMigration, drm.hasKmdMigrationSupport());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user