mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add flag to mark that engine prologue was sent
Related-To: NEO-3216 Change-Id: I243cbd5ff748c1d9a622a86aaa49275f047e84db Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
a5d348ec08
commit
0cafd1b371
@ -368,8 +368,8 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
|
||||
if (blocking) {
|
||||
if (blockQueue) {
|
||||
while (isQueueBlocked())
|
||||
;
|
||||
while (isQueueBlocked()) {
|
||||
}
|
||||
waitUntilComplete(taskCount, flushStamp->peekStamp(), false);
|
||||
} else {
|
||||
waitUntilComplete(taskCount, flushStamp->peekStamp(), false);
|
||||
|
@ -253,6 +253,7 @@ class CommandStreamReceiver {
|
||||
|
||||
bool isPreambleSent = false;
|
||||
bool isStateSipSent = false;
|
||||
bool isEnginePrologueSent = false;
|
||||
bool GSBAFor32BitProgrammed = false;
|
||||
bool bindingTableBaseAddressRequired = false;
|
||||
bool mediaVfeStateDirty = true;
|
||||
|
@ -27,11 +27,13 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
|
||||
public:
|
||||
using BaseClass::dshState;
|
||||
using BaseClass::getCmdSizeForPrologue;
|
||||
using BaseClass::getScratchPatchAddress;
|
||||
using BaseClass::getScratchSpaceController;
|
||||
using BaseClass::indirectHeap;
|
||||
using BaseClass::iohState;
|
||||
using BaseClass::perDssBackedBuffer;
|
||||
using BaseClass::programEnginePrologue;
|
||||
using BaseClass::programPreamble;
|
||||
using BaseClass::programStateSip;
|
||||
using BaseClass::requiresInstructionCacheFlush;
|
||||
@ -46,6 +48,7 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
using BaseClass::CommandStreamReceiver::flushStamp;
|
||||
using BaseClass::CommandStreamReceiver::GSBAFor32BitProgrammed;
|
||||
using BaseClass::CommandStreamReceiver::internalAllocationStorage;
|
||||
using BaseClass::CommandStreamReceiver::isEnginePrologueSent;
|
||||
using BaseClass::CommandStreamReceiver::isPreambleSent;
|
||||
using BaseClass::CommandStreamReceiver::isStateSipSent;
|
||||
using BaseClass::CommandStreamReceiver::lastMediaSamplerConfig;
|
||||
|
Reference in New Issue
Block a user