Add debug flag to control programming of thread arbitration policy with SCM

Related-To: NEO-6801

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2022-05-16 20:34:53 +00:00
committed by Compute-Runtime-Automation
parent ec6d580a27
commit 35d1f2e341
28 changed files with 96 additions and 22 deletions

View File

@@ -52,6 +52,7 @@ struct MockDispatchKernelEncoder : public DispatchKernelEncoderI {
ADDMETHOD_CONST_NOBASE(getIsaAllocation, GraphicsAllocation *, &mockAllocation, ());
ADDMETHOD_CONST_NOBASE(getDynamicStateHeapData, const uint8_t *, nullptr, ());
ADDMETHOD_CONST_NOBASE(requiresGenerationOfLocalIdsByRuntime, bool, true, ());
ADDMETHOD_CONST_NOBASE(getSchedulingHintExp, int32_t, ThreadArbitrationPolicy::NotPresent, ());
ADDMETHOD_CONST_NOBASE(getSlmPolicy, SlmPolicy, SlmPolicy::SlmPolicyNone, ());
};
} // namespace NEO

View File

@@ -353,7 +353,7 @@ void HwInfoConfigHw<IGFX_UNKNOWN>::updateScmCommand(void *const commandPtr, cons
}
template <>
void HwInfoConfigHw<IGFX_UNKNOWN>::updateIddCommand(void *const commandPtr, uint32_t numGrf) {
void HwInfoConfigHw<IGFX_UNKNOWN>::updateIddCommand(void *const commandPtr, uint32_t numGrf, int32_t threadArbitrationPolicy) {
}
template <>