mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: Adjust ulls support debug keys
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2782577f1d
commit
063b719a44
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021-2024 Intel Corporation
|
||||
* Copyright (C) 2021-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -117,19 +117,19 @@ bool OsContext::checkDirectSubmissionSupportsEngine(const DirectSubmissionProper
|
||||
supported = blitterOverrideKey == 0 ? false : true;
|
||||
startOnInit = blitterOverrideKey == 1 ? true : false;
|
||||
}
|
||||
} else if (contextEngineType == aub_stream::ENGINE_RCS) {
|
||||
int32_t renderOverrideKey = debugManager.flags.DirectSubmissionOverrideRenderSupport.get();
|
||||
if (renderOverrideKey != -1) {
|
||||
supported = renderOverrideKey == 0 ? false : true;
|
||||
startOnInit = renderOverrideKey == 1 ? true : false;
|
||||
}
|
||||
} else {
|
||||
// assume else is CCS
|
||||
} else if (EngineHelpers::isCcs(contextEngineType)) {
|
||||
int32_t computeOverrideKey = debugManager.flags.DirectSubmissionOverrideComputeSupport.get();
|
||||
if (computeOverrideKey != -1) {
|
||||
supported = computeOverrideKey == 0 ? false : true;
|
||||
startOnInit = computeOverrideKey == 1 ? true : false;
|
||||
}
|
||||
} else {
|
||||
// assume else is RCS
|
||||
int32_t renderOverrideKey = debugManager.flags.DirectSubmissionOverrideRenderSupport.get();
|
||||
if (renderOverrideKey != -1) {
|
||||
supported = renderOverrideKey == 0 ? false : true;
|
||||
startOnInit = renderOverrideKey == 1 ? true : false;
|
||||
}
|
||||
}
|
||||
|
||||
// enable start in context only when default support is overridden and enabled
|
||||
|
||||
Reference in New Issue
Block a user