Remove HwHelper::isLinuxCompletionFenceSupported method

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-27 11:01:46 +00:00
committed by Compute-Runtime-Automation
parent 35d1f2e341
commit c4095411c7
13 changed files with 8 additions and 48 deletions

View File

@@ -1056,11 +1056,9 @@ TEST(DrmTest, GivenCompletionFenceDebugFlagWhenCreatingDrmObjectThenExpectCorrec
HardwareInfo *hwInfo = defaultHwInfo.get();
executionEnvironment->rootDeviceEnvironments[0]->setHwInfo(hwInfo);
auto &hwHelper = HwHelper::get(hwInfo->platform.eRenderCoreFamily);
DrmMock drmDefault{*executionEnvironment->rootDeviceEnvironments[0]};
drmDefault.callBaseIsVmBindAvailable = true;
if (hwHelper.isLinuxCompletionFenceSupported() && drmDefault.isVmBindAvailable()) {
if (drmDefault.isVmBindAvailable()) {
EXPECT_TRUE(drmDefault.completionFenceSupport());
} else {
EXPECT_FALSE(drmDefault.completionFenceSupport());