Split wait for timestamps to queue and event

On PVC both enabled.
On DG2 only for events.

Related-To: NEO-6948

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2022-05-05 14:26:03 +00:00
committed by Compute-Runtime-Automation
parent 0b4ea8d2eb
commit 6e8cabdce5
17 changed files with 129 additions and 31 deletions

View File

@@ -1089,10 +1089,10 @@ bool CommandQueue::isWaitForTimestampsEnabled() const {
const auto &hwHelper = HwHelper::get(getDevice().getHardwareInfo().platform.eRenderCoreFamily);
const auto &hwInfoConfig = *HwInfoConfig::get(getDevice().getHardwareInfo().platform.eProductFamily);
auto enabled = CommandQueue::isTimestampWaitEnabled();
enabled &= hwHelper.isTimestampWaitSupported();
enabled &= hwHelper.isTimestampWaitSupportedForQueues();
enabled &= !hwInfoConfig.isDcFlushAllowed();
switch (DebugManager.flags.EnableTimestampWait.get()) {
switch (DebugManager.flags.EnableTimestampWaitForQueues.get()) {
case 0:
enabled = false;
break;