Improve BCS waiting logic to satisfy AUB/TBX mode

Change-Id: I52b44959b8bdc1cc66f136a4785233b95870fd0b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2019-10-22 11:25:14 +02:00
committed by sys_ocldev
parent c6e13fdc67
commit a046de5689
12 changed files with 80 additions and 30 deletions

View File

@@ -149,7 +149,7 @@ void CommandQueue::waitUntilComplete(uint32_t taskCountToWait, FlushStamp flushS
getGpgpuCommandStreamReceiver().waitForTaskCountAndCleanAllocationList(taskCountToWait, TEMPORARY_ALLOCATION);
if (auto bcsCsr = getBcsCommandStreamReceiver()) {
auto bcsTaskCount = *bcsCsr->getTagAddress();
bcsCsr->waitForTaskCountWithKmdNotifyFallback(bcsTaskCount, 0, false, false);
bcsCsr->waitForTaskCountAndCleanAllocationList(bcsTaskCount, TEMPORARY_ALLOCATION);
}