mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
Compute-Runtime-Automation

parent
1634ac9ec3
commit
2dc54f6fd9
@ -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());
|
||||
|
Reference in New Issue
Block a user