Force Disable ftrCompression on Linux

Change-Id: Ia5dc4b323571442ee52551d93869163fc3f45834
This commit is contained in:
Dunajski, Bartosz
2018-01-18 08:30:22 +01:00
committed by sys_ocldev
parent 75a902bf2c
commit 3b626a0290
2 changed files with 8 additions and 0 deletions

View File

@@ -345,3 +345,10 @@ TEST_F(HwInfoConfigTestLinuxDummy, dummyConfigPreemptionDrmEnabledAllPreemptionD
EXPECT_EQ(0, ret);
EXPECT_EQ(PreemptionMode::Disabled, outHwInfo.capabilityTable.defaultPreemptionMode);
}
TEST_F(HwInfoConfigTestLinuxDummy, givenPlatformEnabledFtrCompressionWhenInitializingThenForceDisable) {
pInHwInfo->capabilityTable.ftrCompression = true;
int ret = hwConfig.configureHwInfo(pInHwInfo, &outHwInfo, osInterface);
EXPECT_EQ(0, ret);
EXPECT_FALSE(outHwInfo.capabilityTable.ftrCompression);
}