@@ -5989,10 +5989,10 @@ typedef struct tagCFE_STATE {
59895989 uint64_t Reserved_64 : BITFIELD_RANGE(32 , 63 );
59905990 // DWORD 3
59915991 uint32_t StackIdControl : BITFIELD_RANGE(0 , 1 );
5992- uint32_t Reserved_98 : BITFIELD_RANGE(2 , 9 );
5993- uint32_t LargeGrfThreadAdjustDisable : BITFIELD_RANGE(10 , 10 );
5992+ uint32_t DynamicStackIdControl : BITFIELD_RANGE(2 , 2 );
5993+ uint32_t Reserved_99 : BITFIELD_RANGE(3 , 10 );
59945994 uint32_t ComputeOverdispatchDisable : BITFIELD_RANGE(11 , 11 );
5995- uint32_t Reserved_108 : BITFIELD_RANGE(12 , 12 );
5995+ uint32_t ComputeDispatchAllWalkerEnable : BITFIELD_RANGE(12 , 12 );
59965996 uint32_t SingleSliceDispatchCcsMode : BITFIELD_RANGE(13 , 13 );
59975997 uint32_t OverDispatchControl : BITFIELD_RANGE(14 , 15 );
59985998 uint32_t MaximumNumberOfThreads : BITFIELD_RANGE(16 , 31 );
@@ -6029,6 +6029,10 @@ typedef struct tagCFE_STATE {
60296029 STACK_ID_CONTROL_512 = 0x2 ,
60306030 STACK_ID_CONTROL_256 = 0x3 ,
60316031 } STACK_ID_CONTROL;
6032+ typedef enum tagDYNAMIC_STACK_ID_CONTROL {
6033+ DYNAMIC_STACK_ID_CONTROL_DISABLED = 0x0 ,
6034+ DYNAMIC_STACK_ID_CONTROL_ENABLED = 0x1 ,
6035+ } DYNAMIC_STACK_ID_CONTROL;
60326036 typedef enum tagOVER_DISPATCH_CONTROL {
60336037 OVER_DISPATCH_CONTROL_NONE = 0x0 ,
60346038 OVER_DISPATCH_CONTROL_LOW = 0x1 ,
@@ -6044,6 +6048,7 @@ typedef struct tagCFE_STATE {
60446048 TheStructure.Common .Pipeline = PIPELINE_COMPUTE;
60456049 TheStructure.Common .CommandType = COMMAND_TYPE_GFXPIPE;
60466050 TheStructure.Common .StackIdControl = STACK_ID_CONTROL_2K;
6051+ TheStructure.Common .DynamicStackIdControl = DYNAMIC_STACK_ID_CONTROL_ENABLED;
60476052 TheStructure.Common .OverDispatchControl = OVER_DISPATCH_CONTROL_NORMAL;
60486053 }
60496054 static tagCFE_STATE sInit () {
@@ -6078,7 +6083,7 @@ typedef struct tagCFE_STATE {
60786083 SCRATCHSPACEBUFFER_ALIGN_SIZE = 0x40 ,
60796084 } SCRATCHSPACEBUFFER;
60806085 inline void setScratchSpaceBuffer (const uint64_t value) {
6081- UNRECOVERABLE_IF (value > 0xfffffc00L );
6086+ UNRECOVERABLE_IF (value > 0xfffffff );
60826087 TheStructure.Common .ScratchSpaceBuffer = static_cast <uint32_t >(value) >> SCRATCHSPACEBUFFER_BIT_SHIFT;
60836088 }
60846089 inline uint64_t getScratchSpaceBuffer () const {
@@ -6090,18 +6095,24 @@ typedef struct tagCFE_STATE {
60906095 inline STACK_ID_CONTROL getStackIdControl () const {
60916096 return static_cast <STACK_ID_CONTROL>(TheStructure.Common .StackIdControl );
60926097 }
6093- inline void setLargeGRFThreadAdjustDisable (const bool value) {
6094- TheStructure.Common .LargeGrfThreadAdjustDisable = value;
6098+ inline void setDynamicStackIdControl (const DYNAMIC_STACK_ID_CONTROL value) {
6099+ TheStructure.Common .DynamicStackIdControl = value;
60956100 }
6096- inline bool getLargeGRFThreadAdjustDisable () const {
6097- return TheStructure.Common .LargeGrfThreadAdjustDisable ;
6101+ inline DYNAMIC_STACK_ID_CONTROL getDynamicStackIdControl () const {
6102+ return static_cast <DYNAMIC_STACK_ID_CONTROL>( TheStructure.Common .DynamicStackIdControl ) ;
60986103 }
60996104 inline void setComputeOverdispatchDisable (const bool value) {
61006105 TheStructure.Common .ComputeOverdispatchDisable = value;
61016106 }
61026107 inline bool getComputeOverdispatchDisable () const {
61036108 return TheStructure.Common .ComputeOverdispatchDisable ;
61046109 }
6110+ inline void setComputeDispatchAllWalkerEnable (const bool value) {
6111+ TheStructure.Common .ComputeDispatchAllWalkerEnable = value;
6112+ }
6113+ inline bool getComputeDispatchAllWalkerEnable () const {
6114+ return TheStructure.Common .ComputeDispatchAllWalkerEnable ;
6115+ }
61056116 inline void setSingleSliceDispatchCcsMode (const bool value) {
61066117 TheStructure.Common .SingleSliceDispatchCcsMode = value;
61076118 }
0 commit comments