@@ -266,7 +266,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushBcsTask(LinearStream &c
266
266
BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation (), startOffset, 0 , taskStartAddress, nullptr ,
267
267
false , getThrottleFromPowerSavingUint (this ->getUmdPowerHintValue ()), NEO::QueueSliceCount::defaultSliceCount,
268
268
streamToSubmit.getUsed (), &streamToSubmit, bbEndLocation, this ->getNumClients (), (submitCSR || dispatchBcsFlags.hasStallingCmds ),
269
- dispatchBcsFlags.hasRelaxedOrderingDependencies , dispatchBcsFlags.flushTaskCount };
269
+ dispatchBcsFlags.hasRelaxedOrderingDependencies , dispatchBcsFlags.flushTaskCount , false };
270
270
271
271
updateStreamTaskCount (streamToSubmit, taskCount + 1 );
272
272
this ->latestSentTaskCount = taskCount + 1 ;
@@ -1124,7 +1124,7 @@ TaskCountType CommandStreamReceiverHw<GfxFamily>::flushBcsTask(const BlitPropert
1124
1124
uint64_t taskStartAddress = commandStream.getGpuBase () + commandStreamStart;
1125
1125
1126
1126
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 };
1128
1128
1129
1129
updateStreamTaskCount (commandStream, newTaskCount);
1130
1130
@@ -1258,7 +1258,7 @@ SubmissionStatus CommandStreamReceiverHw<GfxFamily>::flushSmallTask(LinearStream
1258
1258
1259
1259
BatchBuffer batchBuffer{commandStreamTask.getGraphicsAllocation (), commandStreamStartTask, 0 , taskStartAddress,
1260
1260
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 };
1262
1262
1263
1263
this ->latestSentTaskCount = taskCount + 1 ;
1264
1264
auto submissionStatus = flushHandler (batchBuffer, getResidencyAllocations ());
@@ -1275,6 +1275,7 @@ SubmissionStatus CommandStreamReceiverHw<GfxFamily>::sendRenderStateCacheFlush()
1275
1275
1276
1276
template <typename GfxFamily>
1277
1277
inline SubmissionStatus CommandStreamReceiverHw<GfxFamily>::flushHandler(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) {
1278
+ this ->latestFlushIsTaskCountUpdateOnly = batchBuffer.taskCountUpdateOnly ;
1278
1279
auto status = flush (batchBuffer, allocationsForResidency);
1279
1280
makeSurfacePackNonResident (allocationsForResidency, true );
1280
1281
return status;
@@ -2219,7 +2220,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::handleImmediateFlushSendBatc
2219
2220
BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation (), startOffset, chainedBatchBufferStartOffset, taskStartAddress, chainedBatchBuffer,
2220
2221
immediateLowPriority, immediateThrottle, immediateSliceCount,
2221
2222
streamToSubmit.getUsed (), &streamToSubmit, flushData.endPtr , this ->getNumClients (), hasStallingCmds,
2222
- dispatchFlags.hasRelaxedOrderingDependencies , dispatchFlags.blockingAppend };
2223
+ dispatchFlags.hasRelaxedOrderingDependencies , dispatchFlags.blockingAppend , false };
2223
2224
updateStreamTaskCount (streamToSubmit, taskCount + 1 );
2224
2225
2225
2226
auto submissionStatus = flushHandler (batchBuffer, this ->getResidencyAllocations ());
@@ -2322,7 +2323,7 @@ inline BatchBuffer CommandStreamReceiverHw<GfxFamily>::prepareBatchBufferForSubm
2322
2323
BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation (), startOffset, chainedBatchBufferStartOffset, taskStartAddress, chainedBatchBuffer,
2323
2324
dispatchFlags.lowPriority , dispatchFlags.throttle , dispatchFlags.sliceCount ,
2324
2325
streamToSubmit.getUsed (), &streamToSubmit, bbEndLocation, this ->getNumClients (), (submitCSR || dispatchFlags.hasStallingCmds || hasStallingCmdsOnTaskStream),
2325
- dispatchFlags.hasRelaxedOrderingDependencies , hasStallingCmdsOnTaskStream};
2326
+ dispatchFlags.hasRelaxedOrderingDependencies , hasStallingCmdsOnTaskStream, false };
2326
2327
2327
2328
updateStreamTaskCount (streamToSubmit, taskCount + 1 );
2328
2329
0 commit comments