mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Do implicit flush for blit enqueues
Change-Id: I872f39a0ea3410b09693b2018c0b86a9a127e5a2 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com> Related-To: NEO-3020
This commit is contained in:
@@ -348,6 +348,7 @@ class CommandQueueHw : public CommandQueue {
|
||||
LinearStream &commandStream,
|
||||
size_t commandStreamStart,
|
||||
bool &blocking,
|
||||
bool blitEnqueue,
|
||||
TimestampPacketContainer *previousTimestampPacketNodes,
|
||||
EventsRequest &eventsRequest,
|
||||
EventBuilder &eventBuilder,
|
||||
|
||||
@@ -312,6 +312,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
commandStream,
|
||||
commandStreamStart,
|
||||
blocking,
|
||||
blitEnqueue,
|
||||
&previousTimestampPacketNodes,
|
||||
eventsRequest,
|
||||
eventBuilder,
|
||||
@@ -836,6 +837,7 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueCommandWithoutKernel(
|
||||
LinearStream &commandStream,
|
||||
size_t commandStreamStart,
|
||||
bool &blocking,
|
||||
bool blitEnqueue,
|
||||
TimestampPacketContainer *previousTimestampPacketNodes,
|
||||
EventsRequest &eventsRequest,
|
||||
EventBuilder &eventBuilder,
|
||||
@@ -856,6 +858,7 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueCommandWithoutKernel(
|
||||
dispatchFlags.blocking = blocking;
|
||||
dispatchFlags.multiEngineQueue = multiEngineQueue;
|
||||
dispatchFlags.preemptionMode = device->getPreemptionMode();
|
||||
dispatchFlags.implicitFlush = blitEnqueue;
|
||||
if (getGpgpuCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
|
||||
dispatchFlags.csrDependencies.fillFromEventsRequestAndMakeResident(eventsRequest, getGpgpuCommandStreamReceiver(), CsrDependencies::DependenciesType::OutOfCsr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user