Do not force resetting SCM properties

Related-To: NEO-6728

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2022-03-16 12:48:08 +00:00
committed by Compute-Runtime-Automation
parent 08d1af76c3
commit 35d9d9e18c
2 changed files with 3 additions and 7 deletions

View File

@@ -173,14 +173,12 @@ HWTEST2_F(XeHpcComputeModeRequirements, giventhreadArbitrationPolicyWithoutShare
hwParser.parseCommands<FamilyType>(getCsrHw<FamilyType>()->commandStream, startOffset);
bool foundOne = false;
uint32_t expectedCoherentMask = FamilyType::stateComputeModeEuThreadSchedulingModeOverrideMask |
FamilyType::stateComputeModeLargeGrfModeMask |
FamilyType::stateComputeModeForceNonCoherentMask;
uint32_t expectedMask = FamilyType::stateComputeModeEuThreadSchedulingModeOverrideMask;
for (auto it = hwParser.cmdList.begin(); it != hwParser.cmdList.end(); it++) {
auto cmd = genCmdCast<STATE_COMPUTE_MODE *>(*it);
if (cmd) {
EXPECT_EQ(expectedCoherentMask, cmd->getMaskBits());
EXPECT_EQ(expectedMask, cmd->getMaskBits());
EXPECT_FALSE(foundOne);
foundOne = true;
auto pc = genCmdCast<PIPE_CONTROL *>(*(++it));