Skip to content

Commit 91fe2ec

Browse files
refactor: remove not needed debug flag AppendAubStreamContextFlags
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
1 parent 2c400e3 commit 91fe2ec

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

shared/source/command_stream/command_stream_receiver_simulated_common_hw_base.inl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ void CommandStreamReceiverSimulatedCommonHw<GfxFamily>::setupContext(OsContext &
4444
flags |= aub_stream::hardwareContextFlags::lowPriority;
4545
}
4646

47-
if (debugManager.flags.AppendAubStreamContextFlags.get() != -1) {
48-
flags |= static_cast<uint32_t>(debugManager.flags.AppendAubStreamContextFlags.get());
49-
}
50-
5147
if (aubManager) {
5248
hardwareContextController = std::make_unique<HardwareContextController>(*aubManager, osContext, flags);
5349
}

shared/source/debug_settings/debug_variables_base.inl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ DECLARE_DEBUG_VARIABLE(int32_t, AdjustThreadGroupDispatchSize, -1, "-1: default,
256256
DECLARE_DEBUG_VARIABLE(int32_t, ForceThreadGroupDispatchSizeAlgorithm, -1, "-1: default, 0: algorithm v1.0 1: algorithm v2.0")
257257
DECLARE_DEBUG_VARIABLE(int32_t, ForceNonblockingExecbufferCalls, -1, "-1: default, 0: make execbuffer call blocking, 1: make execbuffer call nonblocking. Supported only in prelim i915 kernels.")
258258
DECLARE_DEBUG_VARIABLE(int32_t, ForceComputeWalkerPostSyncFlush, -1, "-1: default, 0: disable 1: Enable all flushing bits in ComputeWalker->PostSync")
259-
DECLARE_DEBUG_VARIABLE(int32_t, AppendAubStreamContextFlags, -1, "-1: default, >0: Append flags passed during HardwareContext creation.")
260259
DECLARE_DEBUG_VARIABLE(int32_t, ContextGroupSize, -1, "-1: default, 0-1: context group disabled, >1: number of contexts in group.")
261260
DECLARE_DEBUG_VARIABLE(int32_t, SecondaryContextEngineTypeMask, -1, "-1: default - all supported engines enabled. != -1: Each mask bit enables engine from EngineType enum (is supported).")
262261
DECLARE_DEBUG_VARIABLE(int32_t, OverrideNumHighPriorityContexts, -1, "-1: default. >= Number of HighPriority contexts to create as part of Secondary engines.")

shared/test/common/test_files/igdrcl.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,6 @@ DirectSubmissionRelaxedOrderingForBcs = -1
515515
OverrideUserFenceStartValue = -1
516516
DirectSubmissionRelaxedOrderingQueueSizeLimit = -1
517517
ExperimentalForceCopyThroughLock = -1
518-
AppendAubStreamContextFlags = -1
519518
ContextGroupSize=-1
520519
DirectSubmissionRelaxedOrderingMinNumberOfClients = -1
521520
ExperimentalCopyThroughLockWaitlistSizeThreshold= -1

shared/test/unit_test/command_stream/aub_command_stream_receiver_1_tests.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,6 @@ struct MockAubCsrToTestDumpAubNonWritable : public AUBCommandStreamReceiverHw<Gf
4545
}
4646
};
4747

48-
HWTEST_F(AubCommandStreamReceiverTests, givenDebugFlagSetWhenCreatingContextThenAppendFlags) {
49-
DebugManagerStateRestore dbgRestore;
50-
debugManager.flags.AppendAubStreamContextFlags.set(0x123);
51-
52-
std::unique_ptr<MemoryManager> memoryManager(nullptr);
53-
MockAubManager mockAubManager;
54-
auto aubCsr = std::make_unique<AUBCommandStreamReceiverHw<FamilyType>>("", true, *pDevice->executionEnvironment, pDevice->getRootDeviceIndex(), pDevice->getDeviceBitfield());
55-
memoryManager.reset(new OsAgnosticMemoryManager(*pDevice->executionEnvironment));
56-
aubCsr->aubManager = &mockAubManager;
57-
58-
aubCsr->setupContext(*pDevice->getDefaultEngine().osContext);
59-
EXPECT_EQ(0x123u, mockAubManager.contextFlags & 0x123);
60-
}
61-
6248
TEST_F(AubCommandStreamReceiverTests, givenAubCommandStreamReceiverWhenItIsCreatedWithWrongGfxCoreFamilyThenNullPointerShouldBeReturned) {
6349
HardwareInfo *hwInfo = pDevice->getRootDeviceEnvironment().getMutableHardwareInfo();
6450

0 commit comments

Comments
 (0)