Update isLinuxCompletionFenceSupported value for XE HPG CORE

Related-To: NEO-6575

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2022-01-21 13:52:04 +00:00
committed by Compute-Runtime-Automation
parent 1634ac9ec3
commit 2dc54f6fd9
6 changed files with 9 additions and 8 deletions

View File

@ -941,6 +941,7 @@ TEST(DrmQueryTest, givenUapiPrelimVersionWithInvalidPathThenReturnEmptyString) {
TEST(DrmTest, GivenCompletionFenceDebugFlagWhenCreatingDrmObjectThenExpectCorrectSetting) {
DebugManagerStateRestore restore;
DebugManager.flags.UseVmBind.set(1);
auto executionEnvironment = std::make_unique<ExecutionEnvironment>();
executionEnvironment->prepareRootDeviceEnvironments(1);
@ -950,7 +951,7 @@ TEST(DrmTest, GivenCompletionFenceDebugFlagWhenCreatingDrmObjectThenExpectCorrec
auto &hwHelper = HwHelper::get(hwInfo->platform.eRenderCoreFamily);
DrmMock drmDefault{*executionEnvironment->rootDeviceEnvironments[0]};
if (hwHelper.isLinuxCompletionFenceSupported()) {
if (hwHelper.isLinuxCompletionFenceSupported() && drmDefault.isVmBindAvailable()) {
EXPECT_TRUE(drmDefault.completionFenceSupport());
} else {
EXPECT_FALSE(drmDefault.completionFenceSupport());