Adding initial PreemptionMode::Initial

- account for initial setting (when set mode was equal to initial(Disabled))
estimate size in cmdStreamCS, program MMIO

Change-Id: Ice218ae986583c8f3bab4f4f6979e38f03e30d7e
This commit is contained in:
Hoppe, Mateusz
2018-02-08 13:41:02 +01:00
committed by sys_ocldev
parent 4db1e3af6a
commit 012b8bd73c
11 changed files with 22 additions and 14 deletions

View File

@@ -310,7 +310,7 @@ TEST_F(DevicePreemptionTests, setDefaultDisabledPreemptionNoMidBatchSupport) {
}
TEST(PreemptionTest, defaultMode) {
EXPECT_EQ(0, preemptionModeFromDebugManager);
EXPECT_EQ(-1, preemptionModeFromDebugManager);
}
TEST(PreemptionTest, whenPreemptionModeIsNotMidThreadThenInstructionHeapSipKernelReservedSizeIsEmpty) {