Use hwInfoConfig to check blitter support for image

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2021-10-13 13:30:45 +00:00
committed by Compute-Runtime-Automation
parent 0d74ab8ae8
commit 1c8a6d895a
12 changed files with 28 additions and 28 deletions

View File

@@ -1208,8 +1208,8 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HwHelperTest, givenHwHelperWhenGettingPlanarYuvHeigh
}
HWTEST_F(HwHelperTest, givenHwHelperWhenIsBlitterForImagesSupportedIsCalledThenFalseIsReturned) {
auto &helper = HwHelper::get(renderCoreFamily);
EXPECT_FALSE(helper.isBlitterForImagesSupported(*defaultHwInfo));
const auto &hwInfoConfig = *HwInfoConfig::get(productFamily);
EXPECT_FALSE(hwInfoConfig.isBlitterForImagesSupported());
}
TEST_F(HwHelperTest, WhenGettingIsCpuImageTransferPreferredThenFalseIsReturned) {