mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: Update completion fence for all switched ring buffers
Related-To: GSD-4966 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a622ddba64
commit
13b0fb59f7
@@ -230,9 +230,9 @@ void DrmDirectSubmission<GfxFamily, Dispatcher>::handleSwitchRingBuffers() {
|
||||
if (this->disableMonitorFence) {
|
||||
this->currentTagData.tagValue++;
|
||||
|
||||
bool updateCompletionFences = this->ringStart;
|
||||
if (DebugManager.flags.EnableRingSwitchTagUpdateWa.get() == 0) {
|
||||
updateCompletionFences = true;
|
||||
bool updateCompletionFences = true;
|
||||
if (DebugManager.flags.EnableRingSwitchTagUpdateWa.get() != -1) {
|
||||
updateCompletionFences = !DebugManager.flags.EnableRingSwitchTagUpdateWa.get() || this->ringStart;
|
||||
}
|
||||
|
||||
if (updateCompletionFences) {
|
||||
|
||||
Reference in New Issue
Block a user