refactor: Add helper to control flat ring buffer

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-03-07 16:30:14 +00:00
committed by Compute-Runtime-Automation
parent 277a0b9f1f
commit 6d1a3d404e
6 changed files with 18 additions and 6 deletions

View File

@@ -425,6 +425,10 @@ HWTEST2_F(ProductHelperTest, givenProductHelperWhenCallUseGemCreateExtInAllocate
EXPECT_FALSE(productHelper->useGemCreateExtInAllocateMemoryByKMD());
}
HWTEST2_F(ProductHelperTest, givenProductHelperWhenCallIsFlatRingBufferSupportedThenTrueIsReturned, IsAtMostXeHpgCore) {
EXPECT_TRUE(productHelper->isFlatRingBufferSupported());
}
HWTEST_F(ProductHelperTest, givenProductHelperWhenAskedIfBlitterForImagesIsSupportedThenFalseIsReturned) {
EXPECT_FALSE(productHelper->isBlitterForImagesSupported());