mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
refactor: Force tlb flush during TC after copy
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0cec5ccc32
commit
04b99de4d6
@@ -220,6 +220,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushBcsTask(LinearStream &c
|
||||
NEO::MiFlushArgs args{waArgs};
|
||||
args.commandWithPostSync = true;
|
||||
args.notifyEnable = isUsedNotifyEnableForPostSync();
|
||||
args.tlbFlush |= (debugManager.flags.ForceTlbFlushWithTaskCountAfterCopy.get() == 1);
|
||||
|
||||
NEO::EncodeMiFlushDW<GfxFamily>::programWithWa(commandStreamTask, postSyncAddress, postSyncData, args);
|
||||
}
|
||||
@@ -1098,6 +1099,9 @@ TaskCountType CommandStreamReceiverHw<GfxFamily>::flushBcsTask(const BlitPropert
|
||||
args.commandWithPostSync = true;
|
||||
args.waArgs.isWaRequired = true;
|
||||
args.notifyEnable = isUsedNotifyEnableForPostSync();
|
||||
|
||||
args.tlbFlush |= (debugManager.flags.ForceTlbFlushWithTaskCountAfterCopy.get() == 1);
|
||||
|
||||
EncodeMiFlushDW<GfxFamily>::programWithWa(commandStream, tagAllocation->getGpuAddress(), newTaskCount, args);
|
||||
auto dummyAllocation = rootDeviceEnvironment->getDummyAllocation();
|
||||
if (dummyAllocation) {
|
||||
|
||||
Reference in New Issue
Block a user