performance: Stop direct submission before removing host ptrs

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-05-28 10:15:39 +00:00
committed by Compute-Runtime-Automation
parent 387ec34207
commit 7e6a08098b
6 changed files with 73 additions and 1 deletions

View File

@@ -462,7 +462,9 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
void stopDirectSubmission(bool blocking) override {
stopDirectSubmissionCalled = true;
stopDirectSubmissionCalledBlocking = blocking;
BaseClass::stopDirectSubmission(blocking);
if (this->callBaseStopDirectSubmission) {
BaseClass::stopDirectSubmission(blocking);
}
}
bool waitUserFence(TaskCountType waitValue, uint64_t hostAddress, int64_t timeout, bool userInterrupt, uint32_t externalInterruptId, GraphicsAllocation *allocForInterruptWait) override {
@@ -527,6 +529,7 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
bool flushBatchedSubmissionsCalled = false;
bool flushTagUpdateCalled = false;
bool callFlushTagUpdate = true;
bool callBaseStopDirectSubmission = true;
bool initProgrammingFlagsCalled = false;
bool multiOsContextCapable = false;
bool memoryCompressionEnabled = false;