mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: Restore handle fence completion when reusing cmd buffer
Related-To: NEO-7116 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cd7775f4e2
commit
d472cf0a5d
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -1470,10 +1470,12 @@ inline size_t CommandStreamReceiverHw<GfxFamily>::getCmdSizeForPrologue() const
|
||||
|
||||
template <typename GfxFamily>
|
||||
inline void CommandStreamReceiverHw<GfxFamily>::stopDirectSubmission(bool blocking) {
|
||||
if (EngineHelpers::isBcs(this->osContext->getEngineType())) {
|
||||
this->blitterDirectSubmission->stopRingBuffer(blocking);
|
||||
} else {
|
||||
this->directSubmission->stopRingBuffer(blocking);
|
||||
if (this->isAnyDirectSubmissionEnabled()) {
|
||||
if (EngineHelpers::isBcs(this->osContext->getEngineType())) {
|
||||
this->blitterDirectSubmission->stopRingBuffer(blocking);
|
||||
} else {
|
||||
this->directSubmission->stopRingBuffer(blocking);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user