Set SkipResourceCleanup in TBX mode

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2022-10-26 11:31:37 +00:00
committed by Compute-Runtime-Automation
parent 7ff37cd5fd
commit 06a647a5e9
5 changed files with 13 additions and 1 deletions

View File

@@ -276,7 +276,7 @@ bool CommandStreamReceiver::isRcs() const {
}
bool CommandStreamReceiver::skipResourceCleanup() const {
return this->getOSInterface() && this->getOSInterface()->getDriverModel() && this->getOSInterface()->getDriverModel()->skipResourceCleanup();
return ((this->getOSInterface() && this->getOSInterface()->getDriverModel() && this->getOSInterface()->getDriverModel()->skipResourceCleanup()) || forceSkipResourceCleanupRequired);
}
bool CommandStreamReceiver::isGpuHangDetected() const {