mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Enable vm bind availability based on ioctl helper support
Related-To: NEO-6591 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
f7322d3b85
commit
143f67f2fe
@ -1013,7 +1013,6 @@ TEST(DrmTest, givenInvalidUapiPrelimVersionThenFallbackToBasePrelim) {
|
||||
|
||||
TEST(DrmTest, GivenCompletionFenceDebugFlagWhenCreatingDrmObjectThenExpectCorrectSetting) {
|
||||
DebugManagerStateRestore restore;
|
||||
DebugManager.flags.UseVmBind.set(1);
|
||||
|
||||
auto executionEnvironment = std::make_unique<ExecutionEnvironment>();
|
||||
executionEnvironment->prepareRootDeviceEnvironments(1);
|
||||
@ -1029,6 +1028,7 @@ TEST(DrmTest, GivenCompletionFenceDebugFlagWhenCreatingDrmObjectThenExpectCorrec
|
||||
EXPECT_FALSE(drmDefault.completionFenceSupport());
|
||||
}
|
||||
|
||||
DebugManager.flags.UseVmBind.set(1);
|
||||
DebugManager.flags.EnableDrmCompletionFence.set(1);
|
||||
DrmMock drmEnabled{*executionEnvironment->rootDeviceEnvironments[0]};
|
||||
EXPECT_TRUE(drmEnabled.completionFenceSupport());
|
||||
|
Reference in New Issue
Block a user