fix: request for task count should enable monitor fence dispatch

Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2025-03-09 22:05:27 +00:00
committed by Compute-Runtime-Automation
parent fc770cacf2
commit cd904269ed
2 changed files with 5 additions and 1 deletions

View File

@@ -6368,6 +6368,8 @@ HWTEST_F(CommandStreamReceiverHwTest, givenEpilogueStreamAvailableWhenFlushImmed
LinearStream epilogueStream(commandBuffer);
commandStreamReceiver.storeMakeResidentAllocations = true;
commandStreamReceiver.recordFlushedBatchBuffer = true;
immediateFlushTaskFlags.requireTaskCountUpdate = true;
immediateFlushTaskFlags.optionalEpilogueCmdStream = &epilogueStream;
@@ -6377,6 +6379,7 @@ HWTEST_F(CommandStreamReceiverHwTest, givenEpilogueStreamAvailableWhenFlushImmed
*pDevice);
EXPECT_TRUE(commandStreamReceiver.isMadeResident(commandBuffer));
EXPECT_TRUE(commandStreamReceiver.latestFlushedBatchBuffer.dispatchMonitorFence);
HardwareParse hwParser;