mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Move isPageTableManagerSupported function from HwHelper to HwInfoConfig
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com> Related-To: NEO-4541
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
78fa40fac0
commit
c6ee7065db
@ -91,26 +91,6 @@ GEN12LPTEST_F(HwHelperTestGen12Lp, givenGen12LpPlatformWhenSetupHardwareCapabili
|
||||
EXPECT_TRUE(hwCaps.isStatelesToStatefullWithOffsetSupported);
|
||||
}
|
||||
|
||||
GEN12LPTEST_F(HwHelperTestGen12Lp, givenCompressionFtrEnabledWhenAskingForPageTableManagerThenReturnCorrectValue) {
|
||||
auto &helper = HwHelper::get(renderCoreFamily);
|
||||
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedBuffers = false;
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedImages = false;
|
||||
EXPECT_FALSE(helper.isPageTableManagerSupported(hardwareInfo));
|
||||
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedBuffers = true;
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedImages = false;
|
||||
EXPECT_TRUE(helper.isPageTableManagerSupported(hardwareInfo));
|
||||
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedBuffers = false;
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedImages = true;
|
||||
EXPECT_TRUE(helper.isPageTableManagerSupported(hardwareInfo));
|
||||
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedBuffers = true;
|
||||
hardwareInfo.capabilityTable.ftrRenderCompressedImages = true;
|
||||
EXPECT_TRUE(helper.isPageTableManagerSupported(hardwareInfo));
|
||||
}
|
||||
|
||||
GEN12LPTEST_F(HwHelperTestGen12Lp, givenDifferentSizesOfAllocationWhenCheckingCompressionPreferenceThenReturnCorrectValue) {
|
||||
auto &helper = HwHelper::get(renderCoreFamily);
|
||||
|
||||
|
Reference in New Issue
Block a user