mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Use latest sent task count for Linux flush stamp
Related-To: NEO-5845 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
738e62a9ef
commit
566415a1f5
@@ -32,6 +32,7 @@ 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;
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ bool DrmCommandStreamReceiver<GfxFamily>::flush(BatchBuffer &batchBuffer, Reside
|
||||
}
|
||||
|
||||
if (isUserFenceWaitActive()) {
|
||||
this->flushStamp->setStamp(taskCount);
|
||||
this->flushStamp->setStamp(latestSentTaskCount);
|
||||
} else {
|
||||
this->flushStamp->setStamp(bb->peekHandle());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user