Unify isTimestampWaitSupportedForEvents helper function

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>

No need to keep isTimestampWaitSupportedForEvents function
in hwHelper and in hwInfoConfig helper, move it to hwInfoConfig instead.
This commit is contained in:
Kamil Kopryk
2022-11-09 13:01:21 +00:00
committed by Compute-Runtime-Automation
parent e4d10e5460
commit c82038565e
14 changed files with 35 additions and 45 deletions

View File

@ -1843,9 +1843,8 @@ TEST(EventTimestampTest, givenEnableTimestampWaitWhenCheckIsTimestampWaitEnabled
{
DebugManager.flags.EnableTimestampWaitForEvents.set(-1);
const auto &hwInfo = mockDevice->getHardwareInfo();
const auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
EXPECT_EQ(event.isWaitForTimestampsEnabled(), hwHelper.isTimestampWaitSupportedForEvents(hwInfo));
const auto &productHelper = mockDevice->getRootDeviceEnvironment().getHelper<ProductHelper>();
EXPECT_EQ(event.isWaitForTimestampsEnabled(), productHelper.isTimestampWaitSupportedForEvents());
}
{