Add debug flag for EOT WA

EOT WA requires allocating last 64KB of kernel heap and putting EOT
signature at the last 16 bytes of kernel heap

Related-To: NEO-7099
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-06-15 01:12:33 +00:00
committed by Compute-Runtime-Automation
parent 9a667308b9
commit cf3817e058
21 changed files with 271 additions and 12 deletions

View File

@@ -98,6 +98,18 @@ HWTEST_F(CommandStreamReceiverTest, WhenCreatingCsrThenTimestampTypeIs32b) {
EXPECT_EQ(expectedOffset, tag->getGlobalStartOffset());
}
HWTEST_F(CommandStreamReceiverTest, whenAddingAdditionalAllocationForResidencyThenItIsRegisteredInCsr) {
auto &csr = pDevice->getUltCommandStreamReceiver<FamilyType>();
EXPECT_TRUE(csr.additionalAllocationsForResidency.empty());
MockGraphicsAllocation allocation{};
csr.addAdditionalAllocationForResidency(&allocation);
EXPECT_EQ(1u, csr.additionalAllocationsForResidency.size());
EXPECT_EQ(&allocation, csr.additionalAllocationsForResidency[0]);
}
HWTEST_F(CommandStreamReceiverTest, WhenCreatingCsrThenFlagsAreSetCorrectly) {
auto &csr = pDevice->getUltCommandStreamReceiver<FamilyType>();
csr.initProgrammingFlags();
@@ -2074,4 +2086,4 @@ HWTEST_F(CommandStreamReceiverTest, givenMultipleActivePartitionsWhenWaitLogIsEn
<< " " << tagValue << std::endl;
EXPECT_STREQ(expectedOutput.str().c_str(), output.c_str());
}
}