fix: Defer MOCS to PAT

Related-To: NEO-10556

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-05-24 13:34:24 +00:00
committed by Compute-Runtime-Automation
parent 913d5dc3b1
commit 6c75ec3116
9 changed files with 60 additions and 4 deletions

View File

@@ -1745,6 +1745,10 @@ HWTEST2_F(PrimaryBatchBufferPreamblelessCmdListTest,
using MI_BATCH_BUFFER_START = typename FamilyType::MI_BATCH_BUFFER_START;
using STATE_BASE_ADDRESS = typename FamilyType::STATE_BASE_ADDRESS;
if (device->getProductHelper().isNewCoherencyModelSupported()) {
GTEST_SKIP();
}
// command list 1 will have two kernels, transition from cached MOCS to uncached MOCS state
ze_group_count_t groupCount{1, 1, 1};
CmdListKernelLaunchParams launchParams = {};
@@ -1919,6 +1923,10 @@ HWTEST2_F(PrimaryBatchBufferPreamblelessCmdListTest,
using MI_BATCH_BUFFER_START = typename FamilyType::MI_BATCH_BUFFER_START;
using STATE_BASE_ADDRESS = typename FamilyType::STATE_BASE_ADDRESS;
if (device->getProductHelper().isNewCoherencyModelSupported()) {
GTEST_SKIP();
}
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
ultCsr->recordFlusheBatchBuffer = true;

View File

@@ -1914,6 +1914,10 @@ HWTEST2_F(ImmediateFlushTaskGlobalStatelessCmdListTest,
IsAtLeastXeHpCore) {
using STATE_BASE_ADDRESS = typename FamilyType::STATE_BASE_ADDRESS;
if (neoDevice->getProductHelper().isNewCoherencyModelSupported()) {
GTEST_SKIP();
}
auto &csrImmediate = neoDevice->getUltCommandStreamReceiver<FamilyType>();
auto &csrStream = csrImmediate.commandStream;
@@ -2036,6 +2040,10 @@ HWTEST2_F(ImmediateFlushTaskCsrSharedHeapCmdListTest,
IsAtLeastXeHpCore) {
using STATE_BASE_ADDRESS = typename FamilyType::STATE_BASE_ADDRESS;
if (neoDevice->getProductHelper().isNewCoherencyModelSupported()) {
GTEST_SKIP();
}
auto &csrImmediate = neoDevice->getUltCommandStreamReceiver<FamilyType>();
auto &csrStream = csrImmediate.commandStream;