mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
fffe8f8027
commit
ff4da67979
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user