Revert "fix: Fix front end programming for cooperative dispatch"

This reverts commit 36ddfaaf4d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-05-07 14:04:40 +02:00
committed by Compute-Runtime-Automation
parent b30b3140ec
commit 902b611179
14 changed files with 19 additions and 42 deletions

View File

@@ -155,7 +155,7 @@ struct UltCommandStreamReceiverTest
commandStreamReceiver.streamProperties.pipelineSelect.setPropertiesAll(true, false, false);
commandStreamReceiver.streamProperties.stateComputeMode.setPropertiesAll(0, GrfConfig::defaultGrfNumber,
gfxCoreHelper.getDefaultThreadArbitrationPolicy(), pDevice->getPreemptionMode());
commandStreamReceiver.streamProperties.frontEndState.setPropertiesAll(false, false, false, false, pDevice->getRootDeviceEnvironment());
commandStreamReceiver.streamProperties.frontEndState.setPropertiesAll(false, false, false, -1);
}
template <typename GfxFamily>

View File

@@ -336,7 +336,7 @@ HWTEST2_F(PreambleCfeState, givenXehpAndDisabledFusedEuWhenCfeStateProgrammedThe
auto pVfeCmd = PreambleHelper<FamilyType>::getSpaceForVfeState(&linearStream, hwInfo, EngineGroupType::renderCompute);
StreamProperties streamProperties{};
streamProperties.initSupport(rootDeviceEnvironment);
streamProperties.frontEndState.setPropertiesAll(false, false, false, false, rootDeviceEnvironment);
streamProperties.frontEndState.setPropertiesAll(false, false, false, false);
PreambleHelper<FamilyType>::programVfeState(pVfeCmd, rootDeviceEnvironment, 0u, 0, 0, streamProperties);
parseCommands<FamilyType>(linearStream);
auto cfeStateIt = find<CFE_STATE *>(cmdList.begin(), cmdList.end());
@@ -359,7 +359,7 @@ HWTEST2_F(PreambleCfeState, givenXehpEnabledFusedEuAndDisableFusedDispatchFromKe
auto pVfeCmd = PreambleHelper<FamilyType>::getSpaceForVfeState(&linearStream, hwInfo, EngineGroupType::renderCompute);
StreamProperties streamProperties{};
streamProperties.initSupport(rootDeviceEnvironment);
streamProperties.frontEndState.setPropertiesAll(false, true, false, false, rootDeviceEnvironment);
streamProperties.frontEndState.setPropertiesAll(false, true, false, false);
PreambleHelper<FamilyType>::programVfeState(pVfeCmd, rootDeviceEnvironment, 0u, 0, 0, streamProperties);
parseCommands<FamilyType>(linearStream);
auto cfeStateIt = find<CFE_STATE *>(cmdList.begin(), cmdList.end());
@@ -379,7 +379,7 @@ HWTEST2_F(PreambleCfeState, givenXehpAndEnabledFusedEuWhenCfeStateProgrammedThen
auto pVfeCmd = PreambleHelper<FamilyType>::getSpaceForVfeState(&linearStream, hwInfo, EngineGroupType::renderCompute);
StreamProperties streamProperties{};
streamProperties.initSupport(rootDeviceEnvironment);
streamProperties.frontEndState.setPropertiesAll(false, false, false, false, rootDeviceEnvironment);
streamProperties.frontEndState.setPropertiesAll(false, false, false, false);
PreambleHelper<FamilyType>::programVfeState(pVfeCmd, rootDeviceEnvironment, 0u, 0, 0, streamProperties);
parseCommands<FamilyType>(linearStream);
auto cfeStateIt = find<CFE_STATE *>(cmdList.begin(), cmdList.end());