Improve ftr/wa flags packing

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-11-25 09:31:14 +00:00
committed by Compute-Runtime-Automation
parent 1da896bee0
commit 995cb88bfa
160 changed files with 1777 additions and 1765 deletions

View File

@@ -240,7 +240,7 @@ INSTANTIATE_TEST_CASE_P(
HWTEST_F(MidThreadPreemptionTests, GivenNoWaWhenCreatingCsrSurfaceThenSurfaceIsCorrect) {
HardwareInfo hwInfo = *defaultHwInfo;
hwInfo.workaroundTable.waCSRUncachable = false;
hwInfo.workaroundTable.flags.waCSRUncachable = false;
std::unique_ptr<MockDevice> mockDevice(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfo));
ASSERT_NE(nullptr, mockDevice.get());
@@ -282,7 +282,7 @@ HWTEST_F(MidThreadPreemptionTests, givenMidThreadPreemptionWhenFailingOnCsrSurfa
HWTEST2_F(MidThreadPreemptionTests, GivenWaWhenCreatingCsrSurfaceThenSurfaceIsCorrect, IsAtMostGen12lp) {
HardwareInfo hwInfo = *defaultHwInfo;
hwInfo.workaroundTable.waCSRUncachable = true;
hwInfo.workaroundTable.flags.waCSRUncachable = true;
std::unique_ptr<MockDevice> mockDevice(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfo));
ASSERT_NE(nullptr, mockDevice.get());