fix: call flushMonitorFence on BCS CSR

Related-To: NEO-12477

Also, make sure that global fence is always resident

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-12-03 11:40:08 +00:00
committed by Compute-Runtime-Automation
parent 0ecbc627bd
commit d5e5c8e59e
7 changed files with 84 additions and 11 deletions

View File

@@ -189,9 +189,10 @@ template <typename GfxFamily>
void WddmCommandStreamReceiver<GfxFamily>::flushMonitorFence() {
if (this->directSubmission.get()) {
this->directSubmission->flushMonitorFence();
} else if (this->blitterDirectSubmission.get()) {
this->blitterDirectSubmission->flushMonitorFence();
}
}
template <typename GfxFamily>
void WddmCommandStreamReceiver<GfxFamily>::kmDafLockAllocations(ResidencyContainer &allocationsForResidency) {
for (auto &graphicsAllocation : allocationsForResidency) {