Rename debug flag for PC before non pipelined state command

Rename ProgramAdditionalPipeControlBeforeStateComputeModeCommand to
ProgramPipeControlPriorToNonPipelinedStateCommand

Related-To: NEO-6056

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
Krzysztof Gibala
2021-10-05 16:29:36 +00:00
committed by Compute-Runtime-Automation
parent 7187769744
commit 90f137c2a1
7 changed files with 16 additions and 16 deletions

View File

@@ -348,5 +348,5 @@ DECLARE_DEBUG_VARIABLE(bool, DisableDeepBind, false, "Disable passing RTLD_DEEPB
DECLARE_DEBUG_VARIABLE(bool, UseUmKmDataTranslator, false, "Use helper library for UMD<->KMD (WDDM) struct layout compatibility")
DECLARE_DEBUG_VARIABLE(bool, SkipFlushingEventsOnGetStatusCalls, false, "When set to 1, events are not causing internal flush when querying for CL_EVENT_COMMAND_EXECUTION_STATUS")
DECLARE_DEBUG_VARIABLE(bool, AllowUnrestrictedSize, false, "Allow allocating memory with greater size than MAX_MEM_ALLOC_SIZE")
DECLARE_DEBUG_VARIABLE(bool, ProgramAdditionalPipeControlBeforeStateComputeModeCommand, false, "Program additional PIPE CONTROL command before STATE_COMPUTE_MODE command")
DECLARE_DEBUG_VARIABLE(bool, ProgramPipeControlPriorToNonPipelinedStateCommand, false, "Program additional PIPE CONTROL command before non pipelined state command")
DECLARE_DEBUG_VARIABLE(int32_t, OverrideDrmRegion, -1, "-1: disable, 0+: override to given memory region for all allocations")

View File

@@ -95,7 +95,7 @@ LocalMemoryAccessMode HwInfoConfigHw<gfxProduct>::getDefaultLocalMemoryAccessMod
template <>
bool HwInfoConfigHw<gfxProduct>::isPipeControlPriorToNonPipelinedStateCommandsWARequired(const HardwareInfo &hwInfo) const {
if (hwInfo.gtSystemInfo.CCSInfo.NumberOfCCSEnabled > 1 ||
DebugManager.flags.ProgramAdditionalPipeControlBeforeStateComputeModeCommand.get() == 1) {
DebugManager.flags.ProgramPipeControlPriorToNonPipelinedStateCommand.get() == 1) {
return true;
}
return false;