Request dcFlush for barrier with TimestampPacket write

Change-Id: Ieab115ba651b10d8da0998ec21f2c498ae0fe371
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2020-03-09 13:52:38 +01:00
committed by sys_ocldev
parent 30f1694411
commit 91a5e98209
2 changed files with 2 additions and 1 deletions

View File

@@ -1144,6 +1144,7 @@ HWTEST_TEMPLATED_F(BcsBufferTests, givenBarrierWhenReleasingMultipleBlockedEnque
stallingPipeControlFound = true;
EXPECT_TRUE(pipeControlCmd->getCommandStreamerStallEnable());
EXPECT_TRUE(pipeControlCmd->getDcFlushEnable());
break;
}
}

View File

@@ -529,7 +529,7 @@ inline void CommandStreamReceiverHw<GfxFamily>::programStallingPipeControlForBar
stallingPipeControlCmd = MemorySynchronizationCommands<GfxFamily>::obtainPipeControlAndProgramPostSyncOperation(
cmdStream, PIPE_CONTROL::POST_SYNC_OPERATION::POST_SYNC_OPERATION_WRITE_IMMEDIATE_DATA,
barrierTimestampPacketGpuAddress, 0, false, peekHwInfo());
barrierTimestampPacketGpuAddress, 0, true, peekHwInfo());
dispatchFlags.barrierTimestampPacketNodes->makeResident(*this);
} else {