mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
feat: dont wait on fence in ulls switch buffers
Related-To: NEO-7797 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4c891e80a5
commit
ff2e4f6066
@@ -219,12 +219,6 @@ void DrmDirectSubmission<GfxFamily, Dispatcher>::handleSwitchRingBuffers() {
|
||||
this->ringBuffers[this->previousRingBuffer].completionFence = this->currentTagData.tagValue;
|
||||
}
|
||||
}
|
||||
|
||||
if (this->ringStart) {
|
||||
if (this->ringBuffers[this->currentRingBuffer].completionFence != 0) {
|
||||
this->wait(static_cast<uint32_t>(this->ringBuffers[this->currentRingBuffer].completionFence));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
|
||||
@@ -88,12 +88,6 @@ bool WddmDirectSubmission<GfxFamily, Dispatcher>::handleResidency() {
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
void WddmDirectSubmission<GfxFamily, Dispatcher>::handleSwitchRingBuffers() {
|
||||
if (this->ringStart) {
|
||||
if (this->ringBuffers[this->currentRingBuffer].completionFence != 0) {
|
||||
MonitoredFence ¤tFence = osContextWin->getResidencyController().getMonitoredFence();
|
||||
handleCompletionFence(this->ringBuffers[this->currentRingBuffer].completionFence, currentFence);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
|
||||
Reference in New Issue
Block a user