mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
wa: add dummy blits before command MI_FLUSH_DW
to guarantee that all subblt got complete for previous copy affect xe hpg temporary changes under flag ForceDummyBlitWa Related-To: NEO-7450 Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f0c7eef667
commit
c274309d7b
@@ -179,8 +179,7 @@ void DrmDirectSubmission<GfxFamily, Dispatcher>::handleNewResourcesSubmission()
|
||||
auto osContextLinux = static_cast<OsContextLinux *>(&this->osContext);
|
||||
auto tlbFlushCounter = osContextLinux->peekTlbFlushCounter();
|
||||
|
||||
auto &productHelper = this->rootDeviceEnvironment.template getHelper<ProductHelper>();
|
||||
Dispatcher::dispatchTlbFlush(this->ringCommandStream, this->gpuVaForMiFlush, productHelper);
|
||||
Dispatcher::dispatchTlbFlush(this->ringCommandStream, this->gpuVaForMiFlush, this->rootDeviceEnvironment);
|
||||
osContextLinux->setTlbFlushed(tlbFlushCounter);
|
||||
}
|
||||
}
|
||||
@@ -188,7 +187,7 @@ void DrmDirectSubmission<GfxFamily, Dispatcher>::handleNewResourcesSubmission()
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
size_t DrmDirectSubmission<GfxFamily, Dispatcher>::getSizeNewResourceHandler() {
|
||||
// Overestimate to avoid race
|
||||
return Dispatcher::getSizeTlbFlush();
|
||||
return Dispatcher::getSizeTlbFlush(this->rootDeviceEnvironment);
|
||||
}
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
|
||||
Reference in New Issue
Block a user