refactor: Update CFE_STATE

Refactors the CFE_STATE to align with the latest specification.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
Vysochyn, Illia
2024-12-18 14:42:14 +00:00
committed by Compute-Runtime-Automation
parent 1135c1033e
commit 2951f8a411
9 changed files with 37 additions and 14 deletions

View File

@@ -217,7 +217,12 @@ endif()
if(SUPPORT_XE2_AND_LATER)
list(APPEND NEO_CORE_HELPERS
${CMAKE_CURRENT_SOURCE_DIR}/gfx_core_helper_xe2_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/preamble_xe2_hpg_and_later.inl
)
endif()
if(SUPPORT_XE2_CORE OR SUPPORT_XE_2HPG_CORE)
list(APPEND NEO_CORE_HELPERS
${CMAKE_CURRENT_SOURCE_DIR}/preamble_xe2_hpg.inl
)
endif()

View File

@@ -50,6 +50,9 @@ void PreambleHelper<Family>::appendProgramVFEState(const RootDeviceEnvironment &
if (debugManager.flags.CFEStackIDControl.get() != -1) {
command->setStackIdControl(static_cast<STACK_ID_CONTROL>(debugManager.flags.CFEStackIDControl.get()));
}
if (debugManager.flags.CFELargeGRFThreadAdjustDisable.get() != -1) {
command->setLargeGRFThreadAdjustDisable(debugManager.flags.CFELargeGRFThreadAdjustDisable.get());
}
}
} // namespace NEO

View File

@@ -69,9 +69,6 @@ void PreambleHelper<GfxFamily>::programVfeState(void *pVfeState,
if (debugManager.flags.OverDispatchControl.get() != -1) {
cmd.setOverDispatchControl(static_cast<typename CFE_STATE::OVER_DISPATCH_CONTROL>(debugManager.flags.OverDispatchControl.get()));
}
if (debugManager.flags.CFELargeGRFThreadAdjustDisable.get() != -1) {
cmd.setLargeGRFThreadAdjustDisable(debugManager.flags.CFELargeGRFThreadAdjustDisable.get());
}
*cfeState = cmd;
}