@@ -398,11 +398,6 @@ HWTEST_F(CommandStreamReceiverTest, whenClearColorAllocationIsCreatedThenItIsDes
398
398
EXPECT_EQ (nullptr , csr.clearColorAllocation );
399
399
}
400
400
401
- HWTEST_F (CommandStreamReceiverTest, givenNoDirectSubmissionWhenCheckTaskCountFromWaitEnabledThenReturnsFalse) {
402
- auto &csr = pDevice->getUltCommandStreamReceiver <FamilyType>();
403
- EXPECT_FALSE (csr.isUpdateTagFromWaitEnabled ());
404
- }
405
-
406
401
struct InitDirectSubmissionFixture {
407
402
void SetUp () {
408
403
DebugManager.flags .EnableDirectSubmission .set (1 );
@@ -496,44 +491,6 @@ HWTEST_F(InitDirectSubmissionTest, whenDirectSubmissionEnabledOnRcsThenExpectFea
496
491
csr.reset ();
497
492
}
498
493
499
- HWTEST_F (InitDirectSubmissionTest, givenDirectSubmissionWhenCheckTaskCountFromWaitEnabledThenReturnsTrue) {
500
- auto csr = std::make_unique<CommandStreamReceiverHw<FamilyType>>(*device->executionEnvironment , device->getRootDeviceIndex (), device->getDeviceBitfield ());
501
- std::unique_ptr<OsContext> osContext (OsContext::create (device->getExecutionEnvironment ()->rootDeviceEnvironments [0 ]->osInterface .get (), 0 ,
502
- EngineDescriptorHelper::getDefaultDescriptor ({aub_stream::ENGINE_RCS, EngineUsage::Regular},
503
- PreemptionMode::ThreadGroup, device->getDeviceBitfield ())));
504
- osContext->ensureContextInitialized ();
505
- osContext->setDefaultContext (true );
506
- auto hwInfo = device->getRootDeviceEnvironment ().getMutableHardwareInfo ();
507
- hwInfo->capabilityTable .directSubmissionEngines .data [aub_stream::ENGINE_RCS].engineSupported = true ;
508
- hwInfo->capabilityTable .directSubmissionEngines .data [aub_stream::ENGINE_RCS].submitOnInit = false ;
509
-
510
- bool ret = csr->initDirectSubmission (*device, *osContext.get ());
511
- EXPECT_TRUE (ret);
512
-
513
- EXPECT_TRUE (csr->isUpdateTagFromWaitEnabled ());
514
-
515
- csr.reset ();
516
- }
517
-
518
- HWTEST_F (InitDirectSubmissionTest, givenBlitterDirectSubmissionWhenCheckTaskCountFromWaitEnabledThenReturnsTrue) {
519
- auto csr = std::make_unique<CommandStreamReceiverHw<FamilyType>>(*device->executionEnvironment , device->getRootDeviceIndex (), device->getDeviceBitfield ());
520
- std::unique_ptr<OsContext> osContext (OsContext::create (device->getExecutionEnvironment ()->rootDeviceEnvironments [0 ]->osInterface .get (), 0 ,
521
- EngineDescriptorHelper::getDefaultDescriptor ({aub_stream::ENGINE_BCS, EngineUsage::Regular},
522
- PreemptionMode::ThreadGroup, device->getDeviceBitfield ())));
523
- osContext->ensureContextInitialized ();
524
- osContext->setDefaultContext (true );
525
- auto hwInfo = device->getRootDeviceEnvironment ().getMutableHardwareInfo ();
526
- hwInfo->capabilityTable .directSubmissionEngines .data [aub_stream::ENGINE_BCS].engineSupported = true ;
527
- hwInfo->capabilityTable .directSubmissionEngines .data [aub_stream::ENGINE_BCS].submitOnInit = false ;
528
-
529
- bool ret = csr->initDirectSubmission (*device, *osContext.get ());
530
- EXPECT_TRUE (ret);
531
-
532
- EXPECT_TRUE (csr->isUpdateTagFromWaitEnabled ());
533
-
534
- csr.reset ();
535
- }
536
-
537
494
template <class Type >
538
495
class CommandStreamReceiverHwDirectSubmissionMock : public CommandStreamReceiverHw <Type> {
539
496
public:
0 commit comments