test: fix in-order ULTs for additional blit properties
Modified some of ULTs for in-order command list and copy offload tests to make them work when useAdditionalBlitProperties is set to true Related-To: NEO-13003 Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
parent
ff7ae28b1b
commit
c46227d72c
|
@ -292,6 +292,7 @@ HWTEST_F(AppendMemoryCopyTests, givenCopyCommandListWhenTimestampPassedToImageCo
|
|||
using MI_STORE_REGISTER_MEM = typename GfxFamily::MI_STORE_REGISTER_MEM;
|
||||
auto commandList = std::make_unique<WhiteBox<::L0::CommandListCoreFamily<FamilyType::gfxCoreFamily>>>();
|
||||
commandList->initialize(device, NEO::EngineGroupType::copy, 0u);
|
||||
commandList->useAdditionalBlitProperties = false;
|
||||
ze_event_pool_desc_t eventPoolDesc = {};
|
||||
eventPoolDesc.count = 1;
|
||||
eventPoolDesc.flags = ZE_EVENT_POOL_FLAG_KERNEL_TIMESTAMP;
|
||||
|
|
|
@ -3937,6 +3937,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCopyOnlyInOrderModeWhenPr
|
|||
using MI_STORE_DATA_IMM = typename FamilyType::MI_STORE_DATA_IMM;
|
||||
|
||||
auto immCmdList = createCopyOnlyImmCmdList<FamilyType::gfxCoreFamily>();
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -4066,6 +4067,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCopyOnlyInOrderModeWhenPr
|
|||
using MI_STORE_DATA_IMM = typename FamilyType::MI_STORE_DATA_IMM;
|
||||
|
||||
auto immCmdList = createCopyOnlyImmCmdList<FamilyType::gfxCoreFamily>();
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -4281,6 +4283,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCopyOnlyInOrderModeWhenPr
|
|||
using MI_STORE_DATA_IMM = typename FamilyType::MI_STORE_DATA_IMM;
|
||||
|
||||
auto immCmdList = createCopyOnlyImmCmdList<FamilyType::gfxCoreFamily>();
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -4319,6 +4322,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCopyOnlyInOrderModeWhenPr
|
|||
using MI_STORE_DATA_IMM = typename FamilyType::MI_STORE_DATA_IMM;
|
||||
|
||||
auto immCmdList = createCopyOnlyImmCmdList<FamilyType::gfxCoreFamily>();
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
|
|
@ -820,6 +820,7 @@ HWTEST2_F(CopyOffloadInOrderTests, givenAtomicSignalingModeWhenUpdatingCounterTh
|
|||
debugManager.flags.InOrderAtomicSignallingEnabled.set(1);
|
||||
|
||||
auto immCmdList = createMultiTileImmCmdListWithOffload<FamilyType::gfxCoreFamily>(partitionCount);
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -849,6 +850,7 @@ HWTEST2_F(CopyOffloadInOrderTests, givenAtomicSignalingModeWhenUpdatingCounterTh
|
|||
debugManager.flags.InOrderAtomicSignallingEnabled.set(0);
|
||||
|
||||
auto immCmdList = createMultiTileImmCmdListWithOffload<FamilyType::gfxCoreFamily>(partitionCount);
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -878,6 +880,7 @@ HWTEST2_F(CopyOffloadInOrderTests, givenAtomicSignalingModeWhenUpdatingCounterTh
|
|||
debugManager.flags.InOrderDuplicatedCounterStorageEnabled.set(1);
|
||||
|
||||
auto immCmdList = createMultiTileImmCmdListWithOffload<FamilyType::gfxCoreFamily>(partitionCount);
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = immCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -1362,6 +1365,7 @@ HWTEST2_F(CopyOffloadInOrderTests, givenInterruptEventWhenDispatchingTheProgramU
|
|||
using MI_USER_INTERRUPT = typename FamilyType::MI_USER_INTERRUPT;
|
||||
|
||||
auto immCmdList = createImmCmdListWithOffload<FamilyType::gfxCoreFamily>();
|
||||
immCmdList->useAdditionalBlitProperties = false;
|
||||
auto eventPool = createEvents<FamilyType>(1, false);
|
||||
events[0]->enableInterruptMode();
|
||||
|
||||
|
@ -1400,6 +1404,7 @@ HWTEST2_F(InOrderRegularCmdListTests, whenUsingRegularCmdListThenAddCmdsToPatch,
|
|||
auto mockCmdQHw = makeZeUniquePtr<MockCommandQueueHw<FamilyType::gfxCoreFamily>>(device, device->getNEODevice()->getDefaultEngine().commandStreamReceiver, &desc);
|
||||
mockCmdQHw->initialize(true, false, false);
|
||||
auto regularCmdList = createRegularCmdList<FamilyType::gfxCoreFamily>(true);
|
||||
regularCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = regularCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
@ -1880,6 +1885,8 @@ HWTEST2_F(InOrderRegularCmdListTests, givenInOrderModeWhenDispatchingRegularCmdL
|
|||
|
||||
auto regularCmdList = createRegularCmdList<FamilyType::gfxCoreFamily>(false);
|
||||
auto regularCopyOnlyCmdList = createRegularCmdList<FamilyType::gfxCoreFamily>(true);
|
||||
regularCmdList->useAdditionalBlitProperties = false;
|
||||
regularCopyOnlyCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = regularCmdList->getCmdContainer().getCommandStream();
|
||||
auto copyOnlyCmdStream = regularCopyOnlyCmdList->getCmdContainer().getCommandStream();
|
||||
|
@ -1936,6 +1943,7 @@ HWTEST2_F(InOrderRegularCopyOnlyCmdListTests, givenInOrderModeWhenDispatchingReg
|
|||
using MI_SEMAPHORE_WAIT = typename FamilyType::MI_SEMAPHORE_WAIT;
|
||||
|
||||
auto regularCmdList = createRegularCmdList<FamilyType::gfxCoreFamily>(true);
|
||||
regularCmdList->useAdditionalBlitProperties = false;
|
||||
|
||||
auto cmdStream = regularCmdList->getCmdContainer().getCommandStream();
|
||||
|
||||
|
|
Loading…
Reference in New Issue