mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Unify programming of pipe control command
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7eafb1e877
commit
52a3bfcfde
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user