@@ -266,7 +266,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushBcsTask(LinearStream &c
266266 BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation (), startOffset, 0 , taskStartAddress, nullptr ,
267267 false , getThrottleFromPowerSavingUint (this ->getUmdPowerHintValue ()), NEO::QueueSliceCount::defaultSliceCount,
268268 streamToSubmit.getUsed (), &streamToSubmit, bbEndLocation, this ->getNumClients (), (submitCSR || dispatchBcsFlags.hasStallingCmds ),
269- dispatchBcsFlags.hasRelaxedOrderingDependencies , dispatchBcsFlags.flushTaskCount };
269+ dispatchBcsFlags.hasRelaxedOrderingDependencies , dispatchBcsFlags.flushTaskCount , false };
270270
271271 updateStreamTaskCount (streamToSubmit, taskCount + 1 );
272272 this ->latestSentTaskCount = taskCount + 1 ;
@@ -1124,7 +1124,7 @@ TaskCountType CommandStreamReceiverHw<GfxFamily>::flushBcsTask(const BlitPropert
11241124 uint64_t taskStartAddress = commandStream.getGpuBase () + commandStreamStart;
11251125
11261126 BatchBuffer batchBuffer{commandStream.getGraphicsAllocation (), commandStreamStart, 0 , taskStartAddress, nullptr , false , getThrottleFromPowerSavingUint (this ->getUmdPowerHintValue ()), QueueSliceCount::defaultSliceCount,
1127- commandStream.getUsed (), &commandStream, endingCmdPtr, this ->getNumClients (), hasStallingCmds, isRelaxedOrderingDispatch, blocking};
1127+ commandStream.getUsed (), &commandStream, endingCmdPtr, this ->getNumClients (), hasStallingCmds, isRelaxedOrderingDispatch, blocking, false };
11281128
11291129 updateStreamTaskCount (commandStream, newTaskCount);
11301130
@@ -1258,7 +1258,7 @@ SubmissionStatus CommandStreamReceiverHw<GfxFamily>::flushSmallTask(LinearStream
12581258
12591259 BatchBuffer batchBuffer{commandStreamTask.getGraphicsAllocation (), commandStreamStartTask, 0 , taskStartAddress,
12601260 nullptr , false , getThrottleFromPowerSavingUint (this ->getUmdPowerHintValue ()), QueueSliceCount::defaultSliceCount,
1261- commandStreamTask.getUsed (), &commandStreamTask, endingCmdPtr, this ->getNumClients (), true , false , true };
1261+ commandStreamTask.getUsed (), &commandStreamTask, endingCmdPtr, this ->getNumClients (), true , false , true , true };
12621262
12631263 this ->latestSentTaskCount = taskCount + 1 ;
12641264 auto submissionStatus = flushHandler (batchBuffer, getResidencyAllocations ());
@@ -1275,6 +1275,7 @@ SubmissionStatus CommandStreamReceiverHw<GfxFamily>::sendRenderStateCacheFlush()
12751275
12761276template <typename GfxFamily>
12771277inline SubmissionStatus CommandStreamReceiverHw<GfxFamily>::flushHandler(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) {
1278+ this ->latestFlushIsTaskCountUpdateOnly = batchBuffer.taskCountUpdateOnly ;
12781279 auto status = flush (batchBuffer, allocationsForResidency);
12791280 makeSurfacePackNonResident (allocationsForResidency, true );
12801281 return status;
@@ -2219,7 +2220,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::handleImmediateFlushSendBatc
22192220 BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation (), startOffset, chainedBatchBufferStartOffset, taskStartAddress, chainedBatchBuffer,
22202221 immediateLowPriority, immediateThrottle, immediateSliceCount,
22212222 streamToSubmit.getUsed (), &streamToSubmit, flushData.endPtr , this ->getNumClients (), hasStallingCmds,
2222- dispatchFlags.hasRelaxedOrderingDependencies , dispatchFlags.blockingAppend };
2223+ dispatchFlags.hasRelaxedOrderingDependencies , dispatchFlags.blockingAppend , false };
22232224 updateStreamTaskCount (streamToSubmit, taskCount + 1 );
22242225
22252226 auto submissionStatus = flushHandler (batchBuffer, this ->getResidencyAllocations ());
@@ -2322,7 +2323,7 @@ inline BatchBuffer CommandStreamReceiverHw<GfxFamily>::prepareBatchBufferForSubm
23222323 BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation (), startOffset, chainedBatchBufferStartOffset, taskStartAddress, chainedBatchBuffer,
23232324 dispatchFlags.lowPriority , dispatchFlags.throttle , dispatchFlags.sliceCount ,
23242325 streamToSubmit.getUsed (), &streamToSubmit, bbEndLocation, this ->getNumClients (), (submitCSR || dispatchFlags.hasStallingCmds || hasStallingCmdsOnTaskStream),
2325- dispatchFlags.hasRelaxedOrderingDependencies , hasStallingCmdsOnTaskStream};
2326+ dispatchFlags.hasRelaxedOrderingDependencies , hasStallingCmdsOnTaskStream, false };
23262327
23272328 updateStreamTaskCount (streamToSubmit, taskCount + 1 );
23282329
0 commit comments