mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:41:26 +08:00
CSR AUB + HW mode - flush to poll MMIO for completion
Ensures that each submit of LRCA be serialized through the simulator like it is for AUBs captured in the standalone mode. Change-Id: I1e3ad500012dce960d0e64b56af1cb60142772da
This commit is contained in:
@@ -44,7 +44,7 @@ class AUBCommandStreamReceiverHw : public CommandStreamReceiverSimulatedHw<GfxFa
|
||||
|
||||
// Family specific version
|
||||
void submitLRCA(EngineType engineType, const MiContextDescriptorReg &contextDescriptor);
|
||||
void pollForCompletion(EngineType engineType);
|
||||
MOCKABLE_VIRTUAL void pollForCompletion(EngineType engineType);
|
||||
void initGlobalMMIO();
|
||||
void initEngineMMIO(EngineType engineType);
|
||||
|
||||
|
||||
@@ -477,8 +477,8 @@ FlushStamp AUBCommandStreamReceiverHw<GfxFamily>::flush(BatchBuffer &batchBuffer
|
||||
submitLRCA(engineType, contextDescriptor);
|
||||
}
|
||||
|
||||
pollForCompletion(engineType);
|
||||
if (this->standalone) {
|
||||
pollForCompletion(engineType);
|
||||
*this->tagAddress = this->peekLatestSentTaskCount();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user