Make enqueue blocking if parent kernel requires aux translation

Change-Id: I678e1045d84f15e30223a99438bbb7057e172cff
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-08-29 14:16:04 +02:00
parent 83237bd253
commit 41914d3058
2 changed files with 31 additions and 0 deletions

View File

@@ -336,6 +336,9 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
slmUsed |= scheduler.slmTotalSize > 0;
parentKernel->getProgram()->getBlockKernelManager()->makeInternalAllocationsResident(commandStreamReceiver);
if (parentKernel->isAuxTranslationRequired()) {
blocking = true;
}
}
auto submissionRequired = isCommandWithoutKernel(commandType) ? false : true;