fix: signal notify field before KMD wait

Related-To: NEO-13870

Currently all monitor fences are triggering
interrupt due to Notify Enable field.
With this change, such field is programmed
right before KMD wait.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-03-04 13:29:33 +00:00
committed by Compute-Runtime-Automation
parent fffe8f8027
commit ff4da67979
21 changed files with 130 additions and 51 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -186,11 +186,11 @@ GmmPageTableMngr *WddmCommandStreamReceiver<GfxFamily>::createPageTableManager()
}
template <typename GfxFamily>
void WddmCommandStreamReceiver<GfxFamily>::flushMonitorFence() {
void WddmCommandStreamReceiver<GfxFamily>::flushMonitorFence(bool notifyKmd) {
if (this->directSubmission.get()) {
this->directSubmission->flushMonitorFence();
this->directSubmission->flushMonitorFence(notifyKmd);
} else if (this->blitterDirectSubmission.get()) {
this->blitterDirectSubmission->flushMonitorFence();
this->blitterDirectSubmission->flushMonitorFence(notifyKmd);
}
}
template <typename GfxFamily>