Unify programming of pipe control command

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2022-05-13 00:29:53 +00:00
committed by Compute-Runtime-Automation
parent 7eafb1e877
commit 52a3bfcfde
15 changed files with 104 additions and 103 deletions

View File

@@ -51,10 +51,7 @@ void EncodeComputeMode<Family>::programComputeModeCommand(LinearStream &csr, Sta
using PIPE_CONTROL = typename Family::PIPE_CONTROL;
if (properties.threadArbitrationPolicy.isDirty) {
auto pipeControl = csr.getSpaceForCmd<PIPE_CONTROL>();
PIPE_CONTROL cmd = Family::cmdInitPipeControl;
cmd.setCommandStreamerStallEnable(true);
*pipeControl = cmd;
MemorySynchronizationCommands<Family>::addPipeControlWithCSStallOnly(csr);
LriHelper<Family>::program(&csr,
RowChickenReg4::address,