Revert "Use latest sent task count for Linux flush stamp"

This reverts commit 566415a1f5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2021-07-24 09:11:35 +02:00
committed by Compute-Runtime-Automation
parent 9f5b3efa73
commit f6efba9a26
7 changed files with 12 additions and 15 deletions

View File

@@ -32,7 +32,6 @@ class DrmCommandStreamReceiver : public DeviceCommandStreamReceiver<GfxFamily> {
using BaseClass::requiredScratchSize;
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::getTagAddress;
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::getTagAllocation;
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::latestSentTaskCount;
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::taskCount;
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::useNotifyEnableForPostSync;

View File

@@ -116,7 +116,7 @@ bool DrmCommandStreamReceiver<GfxFamily>::flush(BatchBuffer &batchBuffer, Reside
}
if (isUserFenceWaitActive()) {
this->flushStamp->setStamp(latestSentTaskCount);
this->flushStamp->setStamp(taskCount);
} else {
this->flushStamp->setStamp(bb->peekHandle());
}