mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Do not flush tag update if already flushed
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8f8370be32
commit
eb8cd33dc6
@@ -26,7 +26,9 @@ bool DeferrableAllocationDeletion::apply() {
|
||||
graphicsAllocation.releaseUsageInOsContext(contextId);
|
||||
} else {
|
||||
isStillUsed = true;
|
||||
engine.commandStreamReceiver->updateTagFromWait();
|
||||
if (engine.commandStreamReceiver->peekLatestFlushedTaskCount() < graphicsAllocation.getTaskCount(contextId)) {
|
||||
engine.commandStreamReceiver->updateTagFromWait();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user