101e04c3fSmrg<?xml version="1.0" ?>
201e04c3fSmrg<genxml name="SKL" gen="9">
39f464c52Smaya
49f464c52Smaya  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
59f464c52Smaya    <value name="ONE" value="1"/>
69f464c52Smaya    <value name="SRC_COLOR" value="2"/>
79f464c52Smaya    <value name="SRC_ALPHA" value="3"/>
89f464c52Smaya    <value name="DST_ALPHA" value="4"/>
99f464c52Smaya    <value name="DST_COLOR" value="5"/>
109f464c52Smaya    <value name="SRC_ALPHA_SATURATE" value="6"/>
119f464c52Smaya    <value name="CONST_COLOR" value="7"/>
129f464c52Smaya    <value name="CONST_ALPHA" value="8"/>
139f464c52Smaya    <value name="SRC1_COLOR" value="9"/>
149f464c52Smaya    <value name="SRC1_ALPHA" value="10"/>
159f464c52Smaya    <value name="ZERO" value="17"/>
169f464c52Smaya    <value name="INV_SRC_COLOR" value="18"/>
179f464c52Smaya    <value name="INV_SRC_ALPHA" value="19"/>
189f464c52Smaya    <value name="INV_DST_ALPHA" value="20"/>
199f464c52Smaya    <value name="INV_DST_COLOR" value="21"/>
209f464c52Smaya    <value name="INV_CONST_COLOR" value="23"/>
219f464c52Smaya    <value name="INV_CONST_ALPHA" value="24"/>
229f464c52Smaya    <value name="INV_SRC1_COLOR" value="25"/>
239f464c52Smaya    <value name="INV_SRC1_ALPHA" value="26"/>
249f464c52Smaya  </enum>
259f464c52Smaya
269f464c52Smaya  <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
279f464c52Smaya    <value name="ADD" value="0"/>
289f464c52Smaya    <value name="SUBTRACT" value="1"/>
299f464c52Smaya    <value name="REVERSE_SUBTRACT" value="2"/>
309f464c52Smaya    <value name="MIN" value="3"/>
319f464c52Smaya    <value name="MAX" value="4"/>
329f464c52Smaya  </enum>
339f464c52Smaya
349f464c52Smaya  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
359f464c52Smaya    <value name="ALWAYS" value="0"/>
369f464c52Smaya    <value name="NEVER" value="1"/>
379f464c52Smaya    <value name="LESS" value="2"/>
389f464c52Smaya    <value name="EQUAL" value="3"/>
399f464c52Smaya    <value name="LEQUAL" value="4"/>
409f464c52Smaya    <value name="GREATER" value="5"/>
419f464c52Smaya    <value name="NOTEQUAL" value="6"/>
429f464c52Smaya    <value name="GEQUAL" value="7"/>
439f464c52Smaya  </enum>
449f464c52Smaya
459f464c52Smaya  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
469f464c52Smaya    <value name="CLEAR" value="0"/>
479f464c52Smaya    <value name="NOR" value="1"/>
489f464c52Smaya    <value name="AND_INVERTED" value="2"/>
499f464c52Smaya    <value name="COPY_INVERTED" value="3"/>
509f464c52Smaya    <value name="AND_REVERSE" value="4"/>
519f464c52Smaya    <value name="INVERT" value="5"/>
529f464c52Smaya    <value name="XOR" value="6"/>
539f464c52Smaya    <value name="NAND" value="7"/>
549f464c52Smaya    <value name="AND" value="8"/>
559f464c52Smaya    <value name="EQUIV" value="9"/>
569f464c52Smaya    <value name="NOOP" value="10"/>
579f464c52Smaya    <value name="OR_INVERTED" value="11"/>
589f464c52Smaya    <value name="COPY" value="12"/>
599f464c52Smaya    <value name="OR_REVERSE" value="13"/>
609f464c52Smaya    <value name="OR" value="14"/>
619f464c52Smaya    <value name="SET" value="15"/>
629f464c52Smaya  </enum>
639f464c52Smaya
6401e04c3fSmrg  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
6501e04c3fSmrg    <value name="POINTLIST" value="1"/>
6601e04c3fSmrg    <value name="LINELIST" value="2"/>
6701e04c3fSmrg    <value name="LINESTRIP" value="3"/>
6801e04c3fSmrg    <value name="TRILIST" value="4"/>
6901e04c3fSmrg    <value name="TRISTRIP" value="5"/>
7001e04c3fSmrg    <value name="TRIFAN" value="6"/>
7101e04c3fSmrg    <value name="QUADLIST" value="7"/>
7201e04c3fSmrg    <value name="QUADSTRIP" value="8"/>
7301e04c3fSmrg    <value name="LINELIST_ADJ" value="9"/>
7401e04c3fSmrg    <value name="LINESTRIP_ADJ" value="10"/>
7501e04c3fSmrg    <value name="TRILIST_ADJ" value="11"/>
7601e04c3fSmrg    <value name="TRISTRIP_ADJ" value="12"/>
7701e04c3fSmrg    <value name="TRISTRIP_REVERSE" value="13"/>
7801e04c3fSmrg    <value name="POLYGON" value="14"/>
7901e04c3fSmrg    <value name="RECTLIST" value="15"/>
8001e04c3fSmrg    <value name="LINELOOP" value="16"/>
8101e04c3fSmrg    <value name="POINTLIST _BF" value="17"/>
8201e04c3fSmrg    <value name="LINESTRIP_CONT" value="18"/>
8301e04c3fSmrg    <value name="LINESTRIP_BF" value="19"/>
8401e04c3fSmrg    <value name="LINESTRIP_CONT_BF" value="20"/>
8501e04c3fSmrg    <value name="TRIFAN_NOSTIPPLE" value="22"/>
8601e04c3fSmrg    <value name="PATCHLIST_1" value="32"/>
8701e04c3fSmrg    <value name="PATCHLIST_2" value="33"/>
8801e04c3fSmrg    <value name="PATCHLIST_3" value="34"/>
8901e04c3fSmrg    <value name="PATCHLIST_4" value="35"/>
9001e04c3fSmrg    <value name="PATCHLIST_5" value="36"/>
9101e04c3fSmrg    <value name="PATCHLIST_6" value="37"/>
9201e04c3fSmrg    <value name="PATCHLIST_7" value="38"/>
9301e04c3fSmrg    <value name="PATCHLIST_8" value="39"/>
9401e04c3fSmrg    <value name="PATCHLIST_9" value="40"/>
9501e04c3fSmrg    <value name="PATCHLIST_10" value="41"/>
9601e04c3fSmrg    <value name="PATCHLIST_11" value="42"/>
9701e04c3fSmrg    <value name="PATCHLIST_12" value="43"/>
9801e04c3fSmrg    <value name="PATCHLIST_13" value="44"/>
9901e04c3fSmrg    <value name="PATCHLIST_14" value="45"/>
10001e04c3fSmrg    <value name="PATCHLIST_15" value="46"/>
10101e04c3fSmrg    <value name="PATCHLIST_16" value="47"/>
10201e04c3fSmrg    <value name="PATCHLIST_17" value="48"/>
10301e04c3fSmrg    <value name="PATCHLIST_18" value="49"/>
10401e04c3fSmrg    <value name="PATCHLIST_19" value="50"/>
10501e04c3fSmrg    <value name="PATCHLIST_20" value="51"/>
10601e04c3fSmrg    <value name="PATCHLIST_21" value="52"/>
10701e04c3fSmrg    <value name="PATCHLIST_22" value="53"/>
10801e04c3fSmrg    <value name="PATCHLIST_23" value="54"/>
10901e04c3fSmrg    <value name="PATCHLIST_24" value="55"/>
11001e04c3fSmrg    <value name="PATCHLIST_25" value="56"/>
11101e04c3fSmrg    <value name="PATCHLIST_26" value="57"/>
11201e04c3fSmrg    <value name="PATCHLIST_27" value="58"/>
11301e04c3fSmrg    <value name="PATCHLIST_28" value="59"/>
11401e04c3fSmrg    <value name="PATCHLIST_29" value="60"/>
11501e04c3fSmrg    <value name="PATCHLIST_30" value="61"/>
11601e04c3fSmrg    <value name="PATCHLIST_31" value="62"/>
11701e04c3fSmrg    <value name="PATCHLIST_32" value="63"/>
11801e04c3fSmrg  </enum>
11901e04c3fSmrg
1209f464c52Smaya  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
1219f464c52Smaya    <value name="KEEP" value="0"/>
1229f464c52Smaya    <value name="ZERO" value="1"/>
1239f464c52Smaya    <value name="REPLACE" value="2"/>
1249f464c52Smaya    <value name="INCRSAT" value="3"/>
1259f464c52Smaya    <value name="DECRSAT" value="4"/>
1269f464c52Smaya    <value name="INCR" value="5"/>
1279f464c52Smaya    <value name="DECR" value="6"/>
1289f464c52Smaya    <value name="INVERT" value="7"/>
1299f464c52Smaya  </enum>
1309f464c52Smaya
13101e04c3fSmrg  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
13201e04c3fSmrg    <value name="NOSTORE" value="0"/>
13301e04c3fSmrg    <value name="STORE_SRC" value="1"/>
13401e04c3fSmrg    <value name="STORE_0" value="2"/>
13501e04c3fSmrg    <value name="STORE_1_FP" value="3"/>
13601e04c3fSmrg    <value name="STORE_1_INT" value="4"/>
13701e04c3fSmrg    <value name="STORE_PID" value="7"/>
13801e04c3fSmrg  </enum>
13901e04c3fSmrg
1409f464c52Smaya  <enum name="Atomic_OPCODE" prefix="MI_ATOMIC_OP">
1419f464c52Smaya    <value name="AND" value="0x01"/>
1429f464c52Smaya    <value name="OR" value="0x02"/>
1439f464c52Smaya    <value name="XOR" value="0x03"/>
1449f464c52Smaya    <value name="MOVE" value="0x04"/>
1459f464c52Smaya    <value name="INC" value="0x05"/>
1469f464c52Smaya    <value name="DEC" value="0x06"/>
1479f464c52Smaya    <value name="ADD" value="0x07"/>
1489f464c52Smaya    <value name="SUB" value="0x08"/>
1499f464c52Smaya    <value name="RSUB" value="0x09"/>
1509f464c52Smaya    <value name="IMAX" value="0x0a"/>
1519f464c52Smaya    <value name="IMIN" value="0x0b"/>
1529f464c52Smaya    <value name="UMAX" value="0x0c"/>
1539f464c52Smaya    <value name="UMIN" value="0x0d"/>
1549f464c52Smaya    <value name="CMP_WR" value="0x0e"/>
1559f464c52Smaya    <value name="PREDEC" value="0x0f"/>
1569f464c52Smaya    <value name="AND8B" value="0x21"/>
1579f464c52Smaya    <value name="OR8B" value="0x22"/>
1589f464c52Smaya    <value name="XOR8B" value="0x23"/>
1599f464c52Smaya    <value name="MOVE8B" value="0x24"/>
1609f464c52Smaya    <value name="INC8B" value="0x25"/>
1619f464c52Smaya    <value name="DEC8B" value="0x26"/>
1629f464c52Smaya    <value name="ADD8B" value="0x27"/>
1639f464c52Smaya    <value name="SUB8B" value="0x28"/>
1649f464c52Smaya    <value name="RSUB8B" value="0x29"/>
1659f464c52Smaya    <value name="IMAX8B" value="0x2a"/>
1669f464c52Smaya    <value name="IMIN8B" value="0x2b"/>
1679f464c52Smaya    <value name="UMAX8B" value="0x2c"/>
1689f464c52Smaya    <value name="UMIN8B" value="0x2d"/>
1699f464c52Smaya    <value name="CMP_WR8B" value="0x2e"/>
1709f464c52Smaya    <value name="PREDEC8B" value="0x2f"/>
1719f464c52Smaya    <value name="CMP_WR16B" value="0x4e"/>
17201e04c3fSmrg  </enum>
17301e04c3fSmrg
17401e04c3fSmrg  <enum name="Attribute_Component_Format" prefix="ACF">
17501e04c3fSmrg    <value name="disabled" value="0"/>
17601e04c3fSmrg    <value name=".xy" value="1"/>
17701e04c3fSmrg    <value name=".xyz" value="2"/>
17801e04c3fSmrg    <value name=".xyzw" value="3"/>
17901e04c3fSmrg  </enum>
18001e04c3fSmrg
1819f464c52Smaya  <enum name="COMPONENT_ENABLES" prefix="CE">
1829f464c52Smaya    <value name="NONE" value="0"/>
18301e04c3fSmrg    <value name="X" value="1"/>
18401e04c3fSmrg    <value name="Y" value="2"/>
18501e04c3fSmrg    <value name="XY" value="3"/>
18601e04c3fSmrg    <value name="Z" value="4"/>
18701e04c3fSmrg    <value name="XZ" value="5"/>
18801e04c3fSmrg    <value name="YZ" value="6"/>
18901e04c3fSmrg    <value name="XYZ" value="7"/>
19001e04c3fSmrg    <value name="W" value="8"/>
19101e04c3fSmrg    <value name="XW" value="9"/>
19201e04c3fSmrg    <value name="YW" value="10"/>
19301e04c3fSmrg    <value name="XYW" value="11"/>
19401e04c3fSmrg    <value name="ZW" value="12"/>
19501e04c3fSmrg    <value name="XZW" value="13"/>
19601e04c3fSmrg    <value name="YZW" value="14"/>
19701e04c3fSmrg    <value name="XYZW" value="15"/>
19801e04c3fSmrg  </enum>
19901e04c3fSmrg
20001e04c3fSmrg  <enum name="Shader Channel Select" prefix="SCS">
20101e04c3fSmrg    <value name="ZERO" value="0"/>
20201e04c3fSmrg    <value name="ONE" value="1"/>
20301e04c3fSmrg    <value name="RED" value="4"/>
20401e04c3fSmrg    <value name="GREEN" value="5"/>
20501e04c3fSmrg    <value name="BLUE" value="6"/>
20601e04c3fSmrg    <value name="ALPHA" value="7"/>
20701e04c3fSmrg  </enum>
20801e04c3fSmrg
20901e04c3fSmrg  <enum name="Texture Coordinate Mode" prefix="TCM">
21001e04c3fSmrg    <value name="WRAP" value="0"/>
21101e04c3fSmrg    <value name="MIRROR" value="1"/>
21201e04c3fSmrg    <value name="CLAMP" value="2"/>
21301e04c3fSmrg    <value name="CUBE" value="3"/>
21401e04c3fSmrg    <value name="CLAMP_BORDER" value="4"/>
21501e04c3fSmrg    <value name="MIRROR_ONCE" value="5"/>
21601e04c3fSmrg    <value name="HALF_BORDER" value="6"/>
21701e04c3fSmrg  </enum>
21801e04c3fSmrg
2199f464c52Smaya  <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
2209f464c52Smaya    <value name="X" value="1"/>
2219f464c52Smaya    <value name="Y" value="2"/>
2229f464c52Smaya    <value name="XY" value="3"/>
2239f464c52Smaya    <value name="Z" value="4"/>
2249f464c52Smaya    <value name="XZ" value="5"/>
2259f464c52Smaya    <value name="YZ" value="6"/>
2269f464c52Smaya    <value name="XYZ" value="7"/>
2279f464c52Smaya    <value name="W" value="8"/>
2289f464c52Smaya    <value name="XW" value="9"/>
2299f464c52Smaya    <value name="YW" value="10"/>
2309f464c52Smaya    <value name="XYW" value="11"/>
2319f464c52Smaya    <value name="ZW" value="12"/>
2329f464c52Smaya    <value name="XZW" value="13"/>
2339f464c52Smaya    <value name="YZW" value="14"/>
2349f464c52Smaya    <value name="XYZW" value="15"/>
2359f464c52Smaya  </enum>
2369f464c52Smaya
23701e04c3fSmrg  <struct name="3DSTATE_CONSTANT_BODY" length="10">
23801e04c3fSmrg    <group count="4" start="0" size="16">
23901e04c3fSmrg      <field name="Read Length" start="0" end="15" type="uint"/>
24001e04c3fSmrg    </group>
24101e04c3fSmrg    <group count="4" start="64" size="64">
24201e04c3fSmrg      <field name="Buffer" start="5" end="63" type="address"/>
24301e04c3fSmrg    </group>
24401e04c3fSmrg  </struct>
24501e04c3fSmrg
24601e04c3fSmrg  <struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
24701e04c3fSmrg    <field name="Surface State Pointer" start="0" end="15" type="offset"/>
2489f464c52Smaya    <field name="Binding Table Index" start="16" end="23" type="uint"/>
24901e04c3fSmrg  </struct>
25001e04c3fSmrg
2519f464c52Smaya  <struct name="BINDING_TABLE_STATE" length="1">
2529f464c52Smaya    <field name="Surface State Pointer" start="6" end="31" type="offset"/>
25301e04c3fSmrg  </struct>
25401e04c3fSmrg
2559f464c52Smaya  <struct name="BLEND_STATE_ENTRY" length="2">
2569f464c52Smaya    <field name="Write Disable Blue" start="0" end="0" type="bool"/>
2579f464c52Smaya    <field name="Write Disable Green" start="1" end="1" type="bool"/>
2589f464c52Smaya    <field name="Write Disable Red" start="2" end="2" type="bool"/>
2599f464c52Smaya    <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
2609f464c52Smaya    <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
2619f464c52Smaya    <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
2629f464c52Smaya    <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
2639f464c52Smaya    <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
2649f464c52Smaya    <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
2659f464c52Smaya    <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
2669f464c52Smaya    <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
2679f464c52Smaya    <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
2689f464c52Smaya    <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
2699f464c52Smaya    <field name="Color Clamp Range" start="34" end="35" type="uint">
2709f464c52Smaya      <value name="COLORCLAMP_UNORM" value="0"/>
2719f464c52Smaya      <value name="COLORCLAMP_SNORM" value="1"/>
2729f464c52Smaya      <value name="COLORCLAMP_RTFORMAT" value="2"/>
2739f464c52Smaya    </field>
2749f464c52Smaya    <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
2759f464c52Smaya    <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
2769f464c52Smaya    <field name="Logic Op Enable" start="63" end="63" type="bool"/>
27701e04c3fSmrg  </struct>
27801e04c3fSmrg
2799f464c52Smaya  <struct name="BLEND_STATE" length="1">
2809f464c52Smaya    <field name="Y Dither Offset" start="19" end="20" type="uint"/>
2819f464c52Smaya    <field name="X Dither Offset" start="21" end="22" type="uint"/>
2829f464c52Smaya    <field name="Color Dither Enable" start="23" end="23" type="bool"/>
2839f464c52Smaya    <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
2849f464c52Smaya    <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
2859f464c52Smaya    <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
2869f464c52Smaya    <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
2879f464c52Smaya    <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
2889f464c52Smaya    <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
2899f464c52Smaya    <group count="0" start="32" size="64">
2909f464c52Smaya      <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
2919f464c52Smaya    </group>
29201e04c3fSmrg  </struct>
29301e04c3fSmrg
2949f464c52Smaya  <struct name="CC_VIEWPORT" length="2">
2959f464c52Smaya    <field name="Minimum Depth" start="0" end="31" type="float"/>
2969f464c52Smaya    <field name="Maximum Depth" start="32" end="63" type="float"/>
29701e04c3fSmrg  </struct>
29801e04c3fSmrg
2999f464c52Smaya  <struct name="COLOR_CALC_STATE" length="6">
3009f464c52Smaya    <field name="Alpha Test Format" start="0" end="0" type="uint">
3019f464c52Smaya      <value name="ALPHATEST_UNORM8" value="0"/>
3029f464c52Smaya      <value name="ALPHATEST_FLOAT32" value="1"/>
3039f464c52Smaya    </field>
3049f464c52Smaya    <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
3059f464c52Smaya    <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
3069f464c52Smaya    <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
3079f464c52Smaya    <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
3089f464c52Smaya    <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
3099f464c52Smaya    <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
3109f464c52Smaya    <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
31101e04c3fSmrg  </struct>
31201e04c3fSmrg
3139f464c52Smaya  <struct name="EXECUTION_UNIT_EXTENDED_MESSAGE_DESCRIPTOR" length="1">
3149f464c52Smaya    <field name="Target Function ID" start="0" end="3" type="uint"/>
3159f464c52Smaya    <field name="End Of Thread" start="5" end="5" type="uint">
3169f464c52Smaya      <value name="No Termination" value="0"/>
3179f464c52Smaya      <value name="EOT" value="1"/>
31801e04c3fSmrg    </field>
3199f464c52Smaya    <field name="Extended Message Length" start="6" end="9" type="uint"/>
32001e04c3fSmrg  </struct>
32101e04c3fSmrg
3229f464c52Smaya  <struct name="FILTER_COEFFICIENT" length="1">
3239f464c52Smaya    <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
32401e04c3fSmrg  </struct>
32501e04c3fSmrg
3269f464c52Smaya  <struct name="FRAMEDELTAQP" length="2">
3279f464c52Smaya    <group count="8" start="0" size="8">
3289f464c52Smaya      <field name="Frame Delta QP" start="0" end="7" type="int"/>
3299f464c52Smaya    </group>
33001e04c3fSmrg  </struct>
33101e04c3fSmrg
3329f464c52Smaya  <struct name="FRAMEDELTAQPRANGE" length="2">
3339f464c52Smaya    <group count="8" start="0" size="8">
3349f464c52Smaya      <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
3359f464c52Smaya    </group>
3369f464c52Smaya  </struct>
3379f464c52Smaya
3389f464c52Smaya  <struct name="GATHER_CONSTANT_ENTRY" length="1">
3399f464c52Smaya    <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
3409f464c52Smaya    <field name="Channel Mask" start="4" end="7" type="uint"/>
3419f464c52Smaya    <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
3429f464c52Smaya  </struct>
3439f464c52Smaya
3449f464c52Smaya  <struct name="MEMORYADDRESSATTRIBUTES" length="1">
3459f464c52Smaya    <field name="MOCS" start="1" end="6" type="uint"/>
3469f464c52Smaya    <field name="Arbitration Priority Control" start="7" end="8" type="uint">
3479f464c52Smaya      <value name="Highest priority" value="0"/>
3489f464c52Smaya      <value name="Second highest priority" value="1"/>
3499f464c52Smaya      <value name="Third highest priority" value="2"/>
3509f464c52Smaya      <value name="Lowest priority" value="3"/>
3519f464c52Smaya    </field>
3529f464c52Smaya    <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
3539f464c52Smaya    <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint">
3549f464c52Smaya      <value name="LLC" value="0"/>
3559f464c52Smaya      <value name="Internal Media Storage" value="1"/>
3569f464c52Smaya    </field>
3579f464c52Smaya    <field name="Tiled Resource Mode" start="13" end="14" type="uint">
3589f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
3599f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
3609f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
36101e04c3fSmrg    </field>
36201e04c3fSmrg  </struct>
36301e04c3fSmrg
3649f464c52Smaya  <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
3659f464c52Smaya    <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
3669f464c52Smaya    <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
3677ec681f3Smrg    <field name="Indirect Payload Base Address2" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
36801e04c3fSmrg  </struct>
36901e04c3fSmrg
3709f464c52Smaya  <struct name="HCP_REF_LIST_ENTRY" length="1">
3719f464c52Smaya    <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
3729f464c52Smaya    <field name="List Entry" start="8" end="10" type="uint"/>
3739f464c52Smaya    <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
3749f464c52Smaya      <value name="Default" value="0"/>
3759f464c52Smaya      <value name="Explicit" value="1"/>
3769f464c52Smaya    </field>
3779f464c52Smaya    <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
3789f464c52Smaya      <value name="Default" value="0"/>
3799f464c52Smaya      <value name="Explicit" value="1"/>
3809f464c52Smaya    </field>
3819f464c52Smaya    <field name="Long Term Reference" start="13" end="13" type="bool"/>
3829f464c52Smaya    <field name="Field Pic" start="14" end="14" type="bool"/>
3839f464c52Smaya    <field name="Top Field" start="15" end="15" type="bool"/>
38401e04c3fSmrg  </struct>
38501e04c3fSmrg
3869f464c52Smaya  <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
3879f464c52Smaya    <field name="CtbPos0+i" start="0" end="7" type="uint"/>
3889f464c52Smaya    <field name="CtbPos1+i" start="8" end="15" type="uint"/>
3899f464c52Smaya    <field name="CtbPos2+i" start="16" end="23" type="uint"/>
3909f464c52Smaya    <field name="CtbPos3+i" start="24" end="31" type="uint"/>
3919f464c52Smaya  </struct>
3929f464c52Smaya
3939f464c52Smaya  <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
3949f464c52Smaya    <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
3959f464c52Smaya    <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
3969f464c52Smaya    <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
3979f464c52Smaya    <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
3989f464c52Smaya  </struct>
3999f464c52Smaya
4009f464c52Smaya  <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
4019f464c52Smaya    <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
4029f464c52Smaya    <field name="Luma Offset LX" start="8" end="15" type="uint"/>
4039f464c52Smaya  </struct>
4049f464c52Smaya
4059f464c52Smaya  <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
4069f464c52Smaya    <field name="Priority" start="0" end="1" type="uint">
4079f464c52Smaya      <value name="Highest priority" value="0"/>
4089f464c52Smaya      <value name="Second highest priority" value="1"/>
4099f464c52Smaya      <value name="Third highest priority" value="2"/>
4109f464c52Smaya      <value name="Lowest priority" value="3"/>
41101e04c3fSmrg    </field>
41201e04c3fSmrg  </struct>
41301e04c3fSmrg
4149f464c52Smaya  <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
4159f464c52Smaya    <field name="Lambda Value 0" start="0" end="15" type="uint"/>
4169f464c52Smaya    <field name="Lambda Value 1" start="16" end="31" type="uint"/>
4179f464c52Smaya  </struct>
4189f464c52Smaya
4199f464c52Smaya  <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
4209f464c52Smaya    <field name="Address" start="0" end="63" type="address"/>
4219f464c52Smaya    <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
4229f464c52Smaya  </struct>
4239f464c52Smaya
4249f464c52Smaya  <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
4259f464c52Smaya    <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
4269f464c52Smaya    <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
4279f464c52Smaya    <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
4289f464c52Smaya    <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
4299f464c52Smaya    <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
4309f464c52Smaya    <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
4319f464c52Smaya    <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
4329f464c52Smaya    <field name="MPR Error Handling" start="12" end="12" type="bool"/>
4339f464c52Smaya    <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
4349f464c52Smaya    <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
4359f464c52Smaya    <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
4369f464c52Smaya    <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
4379f464c52Smaya    <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
4389f464c52Smaya    <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="uint"/>
4399f464c52Smaya    <field name="Init Current MB Number" start="30" end="30" type="bool"/>
4409f464c52Smaya    <field name="Concealment Method" start="31" end="31" type="uint"/>
4419f464c52Smaya    <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
4429f464c52Smaya    <field name="Last Slice" start="35" end="35" type="bool"/>
4439f464c52Smaya    <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
4449f464c52Smaya    <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
4459f464c52Smaya    <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
4469f464c52Smaya    <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
4479f464c52Smaya    <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
4489f464c52Smaya    <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
4499f464c52Smaya    <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
4509f464c52Smaya    <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
4519f464c52Smaya    <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
4529f464c52Smaya      <value name="Intra Concealment" value="1"/>
4539f464c52Smaya      <value name="Inter Concealment" value="0"/>
4549f464c52Smaya    </field>
4559f464c52Smaya    <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
4569f464c52Smaya    <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
4579f464c52Smaya      <value name="Intra Concealment" value="1"/>
4589f464c52Smaya      <value name="Inter Concealment" value="0"/>
4599f464c52Smaya    </field>
4609f464c52Smaya    <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
4619f464c52Smaya    <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
4629f464c52Smaya      <value name="Intra Concealment" value="1"/>
4639f464c52Smaya      <value name="Inter Concealment" value="0"/>
46401e04c3fSmrg    </field>
46501e04c3fSmrg  </struct>
46601e04c3fSmrg
46701e04c3fSmrg  <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
46801e04c3fSmrg    <field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
4699f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
4709f464c52Smaya    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
4719f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
4729f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
4739f464c52Smaya      <value name="IEEE-754" value="0"/>
4749f464c52Smaya      <value name="Alternate" value="1"/>
47501e04c3fSmrg    </field>
47601e04c3fSmrg    <field name="Thread Priority" start="81" end="81" type="uint">
47701e04c3fSmrg      <value name="Normal Priority" value="0"/>
47801e04c3fSmrg      <value name="High Priority" value="1"/>
47901e04c3fSmrg    </field>
4809f464c52Smaya    <field name="Single Program Flow" start="82" end="82" type="bool"/>
4819f464c52Smaya    <field name="Denorm Mode" start="83" end="83" type="uint">
4829f464c52Smaya      <value name="Ftz" value="0"/>
4839f464c52Smaya      <value name="SetByKernel" value="1"/>
48401e04c3fSmrg    </field>
48501e04c3fSmrg    <field name="Sampler Count" start="98" end="100" type="uint">
48601e04c3fSmrg      <value name="No samplers used" value="0"/>
48701e04c3fSmrg      <value name="Between 1 and 4 samplers used" value="1"/>
48801e04c3fSmrg      <value name="Between 5 and 8 samplers used" value="2"/>
48901e04c3fSmrg      <value name="Between 9 and 12 samplers used" value="3"/>
49001e04c3fSmrg      <value name="Between 13 and 16 samplers used" value="4"/>
49101e04c3fSmrg    </field>
4929f464c52Smaya    <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
49301e04c3fSmrg    <field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
4949f464c52Smaya    <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
49501e04c3fSmrg    <field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
4969f464c52Smaya    <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
4979f464c52Smaya    <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
4989f464c52Smaya    <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
49901e04c3fSmrg    <field name="Shared Local Memory Size" start="208" end="212" type="uint">
50001e04c3fSmrg      <value name="Encodes 0K" value="0"/>
50101e04c3fSmrg      <value name="Encodes 1K" value="1"/>
50201e04c3fSmrg      <value name="Encodes 2K" value="2"/>
50301e04c3fSmrg      <value name="Encodes 4K" value="3"/>
50401e04c3fSmrg      <value name="Encodes 8K" value="4"/>
50501e04c3fSmrg      <value name="Encodes 16K" value="5"/>
50601e04c3fSmrg      <value name="Encodes 32K" value="6"/>
50701e04c3fSmrg      <value name="Encodes 64K" value="7"/>
50801e04c3fSmrg    </field>
5099f464c52Smaya    <field name="Barrier Enable" start="213" end="213" type="bool"/>
5109f464c52Smaya    <field name="Rounding Mode" start="214" end="215" type="uint">
5119f464c52Smaya      <value name="RTNE" value="0"/>
5129f464c52Smaya      <value name="RU" value="1"/>
5139f464c52Smaya      <value name="RD" value="2"/>
5149f464c52Smaya      <value name="RTZ" value="3"/>
5159f464c52Smaya    </field>
51601e04c3fSmrg    <field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
51701e04c3fSmrg  </struct>
51801e04c3fSmrg
5199f464c52Smaya  <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
5209f464c52Smaya    <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
5219f464c52Smaya    <field name="Last MB" start="3" end="3" type="bool"/>
5229f464c52Smaya    <field name="Last Pic Slice" start="5" end="5" type="bool"/>
5239f464c52Smaya    <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
5249f464c52Smaya    <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
5259f464c52Smaya    <field name="MB Count" start="8" end="15" type="uint"/>
5269f464c52Smaya    <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
5279f464c52Smaya    <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
5289f464c52Smaya    <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
5299f464c52Smaya    <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
5309f464c52Smaya    <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
5319f464c52Smaya  </struct>
5329f464c52Smaya
5339f464c52Smaya  <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
5349f464c52Smaya    <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
5359f464c52Smaya      <value name="REG0" value="0x00"/>
5369f464c52Smaya      <value name="REG1" value="0x01"/>
5379f464c52Smaya      <value name="REG2" value="0x02"/>
5389f464c52Smaya      <value name="REG3" value="0x03"/>
5399f464c52Smaya      <value name="REG4" value="0x04"/>
5409f464c52Smaya      <value name="REG5" value="0x05"/>
5419f464c52Smaya      <value name="REG6" value="0x06"/>
5429f464c52Smaya      <value name="REG7" value="0x07"/>
5439f464c52Smaya      <value name="REG8" value="0x08"/>
5449f464c52Smaya      <value name="REG9" value="0x09"/>
5459f464c52Smaya      <value name="REG10" value="0x0a"/>
5469f464c52Smaya      <value name="REG11" value="0x0b"/>
5479f464c52Smaya      <value name="REG12" value="0x0c"/>
5489f464c52Smaya      <value name="REG13" value="0x0d"/>
5499f464c52Smaya      <value name="REG14" value="0x0e"/>
5509f464c52Smaya      <value name="REG15" value="0x0f"/>
5519f464c52Smaya      <value name="SRCA" value="0x20"/>
5529f464c52Smaya      <value name="SRCB" value="0x21"/>
5539f464c52Smaya      <value name="ACCU" value="0x31"/>
5549f464c52Smaya      <value name="ZF" value="0x32"/>
5559f464c52Smaya      <value name="CF" value="0x33"/>
5569f464c52Smaya    </field>
5579f464c52Smaya    <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
5589f464c52Smaya      <value name="REG0" value="0x00"/>
5599f464c52Smaya      <value name="REG1" value="0x01"/>
5609f464c52Smaya      <value name="REG2" value="0x02"/>
5619f464c52Smaya      <value name="REG3" value="0x03"/>
5629f464c52Smaya      <value name="REG4" value="0x04"/>
5639f464c52Smaya      <value name="REG5" value="0x05"/>
5649f464c52Smaya      <value name="REG6" value="0x06"/>
5659f464c52Smaya      <value name="REG7" value="0x07"/>
5669f464c52Smaya      <value name="REG8" value="0x08"/>
5679f464c52Smaya      <value name="REG9" value="0x09"/>
5689f464c52Smaya      <value name="REG10" value="0x0a"/>
5699f464c52Smaya      <value name="REG11" value="0x0b"/>
5709f464c52Smaya      <value name="REG12" value="0x0c"/>
5719f464c52Smaya      <value name="REG13" value="0x0d"/>
5729f464c52Smaya      <value name="REG14" value="0x0e"/>
5739f464c52Smaya      <value name="REG15" value="0x0f"/>
5749f464c52Smaya      <value name="SRCA" value="0x20"/>
5759f464c52Smaya      <value name="SRCB" value="0x21"/>
5769f464c52Smaya      <value name="ACCU" value="0x31"/>
5779f464c52Smaya      <value name="ZF" value="0x32"/>
5789f464c52Smaya      <value name="CF" value="0x33"/>
5799f464c52Smaya    </field>
5809f464c52Smaya    <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
5819f464c52Smaya      <value name="NOOP" value="0x000"/>
5829f464c52Smaya      <value name="LOAD" value="0x080"/>
5839f464c52Smaya      <value name="LOADINV" value="0x480"/>
5849f464c52Smaya      <value name="LOAD0" value="0x081"/>
5859f464c52Smaya      <value name="LOAD1" value="0x481"/>
5869f464c52Smaya      <value name="ADD" value="0x100"/>
5879f464c52Smaya      <value name="SUB" value="0x101"/>
5889f464c52Smaya      <value name="AND" value="0x102"/>
5899f464c52Smaya      <value name="OR" value="0x103"/>
5909f464c52Smaya      <value name="XOR" value="0x104"/>
5919f464c52Smaya      <value name="STORE" value="0x180"/>
5929f464c52Smaya      <value name="STOREINV" value="0x580"/>
59301e04c3fSmrg    </field>
59401e04c3fSmrg  </struct>
59501e04c3fSmrg
59601e04c3fSmrg  <struct name="PALETTE_ENTRY" length="1">
59701e04c3fSmrg    <field name="Blue" start="0" end="7" type="uint"/>
5989f464c52Smaya    <field name="Green" start="8" end="15" type="uint"/>
5999f464c52Smaya    <field name="Red" start="16" end="23" type="uint"/>
6009f464c52Smaya    <field name="Alpha" start="24" end="31" type="uint"/>
60101e04c3fSmrg  </struct>
60201e04c3fSmrg
60301e04c3fSmrg  <struct name="RENDER_SURFACE_STATE" length="16">
6049f464c52Smaya    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
6059f464c52Smaya    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
6069f464c52Smaya    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
6079f464c52Smaya    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
6089f464c52Smaya    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
6099f464c52Smaya    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
6109f464c52Smaya    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
6119f464c52Smaya      <value name="NORMAL_MODE" value="0"/>
6129f464c52Smaya      <value name="PROGRESSIVE_FRAME" value="2"/>
6139f464c52Smaya      <value name="INTERLACED_FRAME" value="3"/>
61401e04c3fSmrg    </field>
6159f464c52Smaya    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
6169f464c52Smaya      <value name="Write-Only Cache" value="0"/>
6179f464c52Smaya      <value name="Read-Write Cache" value="1"/>
61801e04c3fSmrg    </field>
6199f464c52Smaya    <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
6209f464c52Smaya    <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
6219f464c52Smaya    <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
62201e04c3fSmrg    <field name="Tile Mode" start="12" end="13" type="uint">
62301e04c3fSmrg      <value name="LINEAR" value="0"/>
62401e04c3fSmrg      <value name="WMAJOR" value="1"/>
62501e04c3fSmrg      <value name="XMAJOR" value="2"/>
62601e04c3fSmrg      <value name="YMAJOR" value="3"/>
62701e04c3fSmrg    </field>
6289f464c52Smaya    <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
6297ec681f3Smrg      <value name="HALIGN_4" value="1"/>
6307ec681f3Smrg      <value name="HALIGN_8" value="2"/>
6317ec681f3Smrg      <value name="HALIGN_16" value="3"/>
63201e04c3fSmrg    </field>
6339f464c52Smaya    <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
6347ec681f3Smrg      <value name="VALIGN_4" value="1"/>
6357ec681f3Smrg      <value name="VALIGN_8" value="2"/>
6367ec681f3Smrg      <value name="VALIGN_16" value="3"/>
6379f464c52Smaya    </field>
6389f464c52Smaya    <field name="Surface Format" start="18" end="27" type="uint"/>
6399f464c52Smaya    <field name="Surface Array" start="28" end="28" type="bool"/>
6409f464c52Smaya    <field name="Surface Type" start="29" end="31" type="uint">
6419f464c52Smaya      <value name="SURFTYPE_1D" value="0"/>
6429f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
6439f464c52Smaya      <value name="SURFTYPE_3D" value="2"/>
6449f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
6459f464c52Smaya      <value name="SURFTYPE_BUFFER" value="4"/>
6469f464c52Smaya      <value name="SURFTYPE_STRBUF" value="5"/>
6479f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
64801e04c3fSmrg    </field>
64901e04c3fSmrg    <field name="Surface QPitch" start="32" end="46" type="uint"/>
6509f464c52Smaya    <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
6519f464c52Smaya    <field name="MOCS" start="56" end="62" type="uint"/>
65201e04c3fSmrg    <field name="Width" start="64" end="77" type="uint"/>
6539f464c52Smaya    <field name="Height" start="80" end="93" type="uint"/>
65401e04c3fSmrg    <field name="Surface Pitch" start="96" end="113" type="uint"/>
6559f464c52Smaya    <field name="Depth" start="117" end="127" type="uint"/>
6569f464c52Smaya    <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
65701e04c3fSmrg    <field name="Number of Multisamples" start="131" end="133" type="uint">
65801e04c3fSmrg      <value name="MULTISAMPLECOUNT_1" value="0"/>
65901e04c3fSmrg      <value name="MULTISAMPLECOUNT_2" value="1"/>
66001e04c3fSmrg      <value name="MULTISAMPLECOUNT_4" value="2"/>
66101e04c3fSmrg      <value name="MULTISAMPLECOUNT_8" value="3"/>
66201e04c3fSmrg      <value name="MULTISAMPLECOUNT_16" value="4"/>
66301e04c3fSmrg    </field>
6649f464c52Smaya    <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
6659f464c52Smaya      <value name="MSFMT_MSS" value="0"/>
6669f464c52Smaya      <value name="MSFMT_DEPTH_STENCIL" value="1"/>
6679f464c52Smaya    </field>
6689f464c52Smaya    <field name="Render Target View Extent" start="135" end="145" type="uint"/>
6699f464c52Smaya    <field name="Minimum Array Element" start="146" end="156" type="uint"/>
6709f464c52Smaya    <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
6719f464c52Smaya      <value name="0DEG" value="0"/>
6729f464c52Smaya      <value name="90DEG" value="1"/>
6739f464c52Smaya      <value name="180DEG" value="2"/>
6749f464c52Smaya      <value name="270DEG" value="3"/>
6759f464c52Smaya    </field>
6769f464c52Smaya    <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
6779f464c52Smaya    <field name="Surface Min LOD" start="164" end="167" type="uint"/>
6789f464c52Smaya    <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
6799f464c52Smaya    <field name="Coherency Type" start="174" end="174" type="uint">
6809f464c52Smaya      <value name="GPU coherent" value="0"/>
6819f464c52Smaya      <value name="IA coherent" value="1"/>
6829f464c52Smaya    </field>
68301e04c3fSmrg    <field name="Tiled Resource Mode" start="178" end="179" type="uint">
68401e04c3fSmrg      <value name="NONE" value="0"/>
68501e04c3fSmrg      <value name="4KB" value="1"/>
68601e04c3fSmrg      <value name="64KB" value="2"/>
68701e04c3fSmrg      <value name="TILEYF" value="1"/>
68801e04c3fSmrg      <value name="TILEYS" value="2"/>
68901e04c3fSmrg    </field>
6909f464c52Smaya    <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
6919f464c52Smaya    <field name="Y Offset" start="181" end="183" type="uint"/>
6929f464c52Smaya    <field name="X Offset" start="185" end="191" type="uint"/>
69301e04c3fSmrg    <field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
69401e04c3fSmrg      <value name="AUX_NONE" value="0"/>
69501e04c3fSmrg      <value name="AUX_CCS_D" value="1"/>
69601e04c3fSmrg      <value name="AUX_APPEND" value="2"/>
69701e04c3fSmrg      <value name="AUX_HIZ" value="3"/>
69801e04c3fSmrg      <value name="AUX_CCS_E" value="5"/>
69901e04c3fSmrg    </field>
70001e04c3fSmrg    <field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
7019f464c52Smaya    <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
7029f464c52Smaya    <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
7039f464c52Smaya    <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
7049f464c52Smaya    <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
7059f464c52Smaya    <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
7069f464c52Smaya    <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
7079f464c52Smaya    <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
7089f464c52Smaya    <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
7099f464c52Smaya    <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
7109f464c52Smaya    <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
71101e04c3fSmrg    <field name="Memory Compression Mode" start="255" end="255" type="uint">
71201e04c3fSmrg      <value name="Horizontal" value="0"/>
71301e04c3fSmrg      <value name="Vertical" value="1"/>
71401e04c3fSmrg    </field>
71501e04c3fSmrg    <field name="Surface Base Address" start="256" end="319" type="address"/>
71601e04c3fSmrg    <field name="Quilt Width" start="320" end="324" type="uint"/>
7179f464c52Smaya    <field name="Quilt Height" start="325" end="329" type="uint"/>
7189f464c52Smaya    <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
7199f464c52Smaya    <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
7209f464c52Smaya    <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
7219f464c52Smaya    <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
72201e04c3fSmrg    <field name="Hierarchical Depth Clear Value" start="384" end="415" type="float"/>
72301e04c3fSmrg    <field name="Red Clear Color" start="384" end="415" type="int"/>
72401e04c3fSmrg    <field name="Green Clear Color" start="416" end="447" type="int"/>
72501e04c3fSmrg    <field name="Blue Clear Color" start="448" end="479" type="int"/>
72601e04c3fSmrg    <field name="Alpha Clear Color" start="480" end="511" type="int"/>
72701e04c3fSmrg  </struct>
72801e04c3fSmrg
7299f464c52Smaya  <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
7309f464c52Smaya    <field name="Rounding Precision" start="0" end="2" type="uint">
7319f464c52Smaya      <value name="+1/16" value="0"/>
7329f464c52Smaya      <value name="+2/16" value="1"/>
7339f464c52Smaya      <value name="+3/16" value="2"/>
7349f464c52Smaya      <value name="+4/16" value="3"/>
7359f464c52Smaya      <value name="+5/16" value="4"/>
7369f464c52Smaya      <value name="+6/16" value="5"/>
7379f464c52Smaya      <value name="+7/16" value="6"/>
7389f464c52Smaya      <value name="+8/16" value="7"/>
7399f464c52Smaya    </field>
74001e04c3fSmrg  </struct>
74101e04c3fSmrg
74201e04c3fSmrg  <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
74301e04c3fSmrg    <field name="Border Color Float Red" start="0" end="31" type="float"/>
74401e04c3fSmrg    <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
7459f464c52Smaya    <field name="Border Color Float Green" start="32" end="63" type="float"/>
74601e04c3fSmrg    <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
7479f464c52Smaya    <field name="Border Color Float Blue" start="64" end="95" type="float"/>
74801e04c3fSmrg    <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
7499f464c52Smaya    <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
75001e04c3fSmrg    <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
75101e04c3fSmrg  </struct>
75201e04c3fSmrg
75301e04c3fSmrg  <struct name="SAMPLER_STATE" length="4">
7549f464c52Smaya    <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
7559f464c52Smaya      <value name="LEGACY" value="0"/>
7569f464c52Smaya      <value name="EWA Approximation" value="1"/>
75701e04c3fSmrg    </field>
7589f464c52Smaya    <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
7599f464c52Smaya    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
76001e04c3fSmrg      <value name="NEAREST" value="0"/>
76101e04c3fSmrg      <value name="LINEAR" value="1"/>
76201e04c3fSmrg      <value name="ANISOTROPIC" value="2"/>
76301e04c3fSmrg      <value name="MONO" value="6"/>
76401e04c3fSmrg    </field>
7659f464c52Smaya    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
76601e04c3fSmrg      <value name="NEAREST" value="0"/>
76701e04c3fSmrg      <value name="LINEAR" value="1"/>
76801e04c3fSmrg      <value name="ANISOTROPIC" value="2"/>
76901e04c3fSmrg      <value name="MONO" value="6"/>
77001e04c3fSmrg    </field>
7719f464c52Smaya    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
7729f464c52Smaya      <value name="NONE" value="0"/>
7739f464c52Smaya      <value name="NEAREST" value="1"/>
7749f464c52Smaya      <value name="LINEAR" value="3"/>
77501e04c3fSmrg    </field>
7769f464c52Smaya    <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
7779f464c52Smaya    <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
7789f464c52Smaya      <value name="NONE" value="0"/>
7799f464c52Smaya      <value name="OGL" value="2"/>
7809f464c52Smaya    </field>
7819f464c52Smaya    <field name="Texture Border Color Mode" start="29" end="29" type="uint">
7829f464c52Smaya      <value name="DX10/OGL" value="0"/>
7839f464c52Smaya      <value name="DX9" value="1"/>
7849f464c52Smaya    </field>
7859f464c52Smaya    <field name="Sampler Disable" start="31" end="31" type="bool"/>
7869f464c52Smaya    <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
7879f464c52Smaya      <value name="PROGRAMMED" value="0"/>
7889f464c52Smaya      <value name="OVERRIDE" value="1"/>
78901e04c3fSmrg    </field>
7907ec681f3Smrg    <field name="Shadow Function" start="33" end="35" type="uint" prefix="PREFILTEROP">
7917ec681f3Smrg      <value name="ALWAYS" value="0"/>
7927ec681f3Smrg      <value name="NEVER" value="1"/>
7937ec681f3Smrg      <value name="LESS" value="2"/>
7947ec681f3Smrg      <value name="EQUAL" value="3"/>
7957ec681f3Smrg      <value name="LEQUAL" value="4"/>
7967ec681f3Smrg      <value name="GREATER" value="5"/>
7977ec681f3Smrg      <value name="NOTEQUAL" value="6"/>
7987ec681f3Smrg      <value name="GEQUAL" value="7"/>
79901e04c3fSmrg    </field>
8009f464c52Smaya    <field name="ChromaKey Mode" start="36" end="36" type="uint">
8019f464c52Smaya      <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
8029f464c52Smaya      <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
80301e04c3fSmrg    </field>
8049f464c52Smaya    <field name="ChromaKey Index" start="37" end="38" type="uint"/>
8059f464c52Smaya    <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
8069f464c52Smaya    <field name="Max LOD" start="40" end="51" type="u4.8"/>
8079f464c52Smaya    <field name="Min LOD" start="52" end="63" type="u4.8"/>
80801e04c3fSmrg    <field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
80901e04c3fSmrg      <value name="MIPNONE" value="0"/>
81001e04c3fSmrg      <value name="MIPFILTER" value="1"/>
81101e04c3fSmrg    </field>
8129f464c52Smaya    <field name="Border Color Pointer" start="70" end="87" type="offset"/>
8139f464c52Smaya    <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
8149f464c52Smaya    <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
8159f464c52Smaya    <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
8169f464c52Smaya    <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
8179f464c52Smaya    <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
8189f464c52Smaya    <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
8199f464c52Smaya      <value name="FULL" value="0"/>
8209f464c52Smaya      <value name="HIGH" value="1"/>
8219f464c52Smaya      <value name="MED" value="2"/>
8229f464c52Smaya      <value name="LOW" value="3"/>
82301e04c3fSmrg    </field>
82401e04c3fSmrg    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
82501e04c3fSmrg    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
82601e04c3fSmrg    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
82701e04c3fSmrg    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
82801e04c3fSmrg    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
82901e04c3fSmrg    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
8309f464c52Smaya    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
8319f464c52Smaya      <value name="RATIO 2:1" value="0"/>
8329f464c52Smaya      <value name="RATIO 4:1" value="1"/>
8339f464c52Smaya      <value name="RATIO 6:1" value="2"/>
8349f464c52Smaya      <value name="RATIO 8:1" value="3"/>
8359f464c52Smaya      <value name="RATIO 10:1" value="4"/>
8369f464c52Smaya      <value name="RATIO 12:1" value="5"/>
8379f464c52Smaya      <value name="RATIO 14:1" value="6"/>
8389f464c52Smaya      <value name="RATIO 16:1" value="7"/>
8399f464c52Smaya    </field>
8409f464c52Smaya    <field name="Reduction Type" start="118" end="119" type="uint">
8419f464c52Smaya      <value name="STD_FILTER" value="0"/>
8429f464c52Smaya      <value name="COMPARISON" value="1"/>
8439f464c52Smaya      <value name="MINIMUM" value="2"/>
8449f464c52Smaya      <value name="MAXIMUM" value="3"/>
84501e04c3fSmrg    </field>
84601e04c3fSmrg  </struct>
84701e04c3fSmrg
84801e04c3fSmrg  <struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
8499f464c52Smaya    <group count="4" start="0" size="8">
8509f464c52Smaya      <field name="Table 0 Filter Coefficient" start="0" end="7" type="s1.6"/>
8519f464c52Smaya    </group>
8529f464c52Smaya    <group count="4" start="0" size="32">
8539f464c52Smaya      <field name="Table 1 Filter Coefficient0" start="0" end="7" type="s1.6"/>
8549f464c52Smaya      <field name="Table 1 Filter Coefficient1" start="8" end="15" type="s1.6"/>
8559f464c52Smaya    </group>
85601e04c3fSmrg  </struct>
85701e04c3fSmrg
8589f464c52Smaya  <struct name="SCISSOR_RECT" length="2">
8599f464c52Smaya    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
8609f464c52Smaya    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
8619f464c52Smaya    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
8629f464c52Smaya    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
8639f464c52Smaya  </struct>
8649f464c52Smaya
8659f464c52Smaya  <struct name="SFC_AVS_CHROMA_COEFF_TABLE_BODY" length="64">
8669f464c52Smaya    <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
8679f464c52Smaya    <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
8689f464c52Smaya    <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
8699f464c52Smaya    <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
8709f464c52Smaya    <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
8719f464c52Smaya    <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
8729f464c52Smaya    <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
8739f464c52Smaya    <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
8749f464c52Smaya    <group count="31" start="64" size="64">
8759f464c52Smaya      <field name="Filter Coefficients" start="0" end="63" type="uint"/>
8769f464c52Smaya    </group>
8779f464c52Smaya  </struct>
8789f464c52Smaya
8799f464c52Smaya  <struct name="SFC_AVS_LUMA_COEFF_TABLE_BODY" length="128">
8809f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
8819f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
8829f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
8839f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
8849f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
8859f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
8869f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
8879f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
8889f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
8899f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
8909f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
8919f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
8929f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
8939f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
8949f464c52Smaya    <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
8959f464c52Smaya    <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
8969f464c52Smaya    <group count="31" start="128" size="128">
8979f464c52Smaya      <field name="Filter Coefficients" start="0" end="127" type="uint"/>
8989f464c52Smaya    </group>
8999f464c52Smaya  </struct>
9009f464c52Smaya
9019f464c52Smaya  <struct name="SFC_AVS_STATE_BODY" length="2">
9029f464c52Smaya    <field name="Transition Area with 8 Pixels" start="0" end="2" type="uint"/>
9039f464c52Smaya    <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
9049f464c52Smaya    <field name="Sharpness Level" start="24" end="31" type="uint"/>
9059f464c52Smaya    <field name="Max Derivative 8 Pixels" start="32" end="39" type="uint"/>
9069f464c52Smaya    <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
9079f464c52Smaya  </struct>
9089f464c52Smaya
9099f464c52Smaya  <struct name="SFC_IEF_STATE_BODY" length="23">
9109f464c52Smaya    <field name="Gain Factor" start="0" end="5" type="uint" default="44"/>
9119f464c52Smaya    <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
9129f464c52Smaya    <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
9139f464c52Smaya    <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
9149f464c52Smaya    <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
9159f464c52Smaya    <field name="Global Noise Estimation" start="32" end="39" type="uint"/>
9169f464c52Smaya    <field name="Non Edge Weight" start="40" end="42" type="uint"/>
9179f464c52Smaya    <field name="Regular Weight" start="43" end="45" type="uint"/>
9189f464c52Smaya    <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
9199f464c52Smaya    <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
9209f464c52Smaya    <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
9219f464c52Smaya    <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
9229f464c52Smaya    <field name="STD Sin(alpha)" start="64" end="71" type="s0.7"/>
9239f464c52Smaya    <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
9249f464c52Smaya    <field name="Sat_Max" start="80" end="85" type="uint"/>
9259f464c52Smaya    <field name="Hue_Max" start="86" end="91" type="uint"/>
9269f464c52Smaya    <field name="S3U" start="96" end="106" type="s2.8"/>
9279f464c52Smaya    <field name="Diamond Margin" start="108" end="110" type="uint"/>
9289f464c52Smaya    <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
9299f464c52Smaya    <field name="U_Mid" start="112" end="119" type="uint"/>
9309f464c52Smaya    <field name="V_Mid" start="120" end="127" type="uint"/>
9319f464c52Smaya    <field name="Diamond_dv" start="128" end="134" type="int"/>
9329f464c52Smaya    <field name="Diamond_Th" start="135" end="140" type="uint"/>
9339f464c52Smaya    <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
9349f464c52Smaya    <field name="HS_margin" start="149" end="151" type="uint"/>
9359f464c52Smaya    <field name="Diamond_du" start="152" end="158" type="int"/>
9369f464c52Smaya    <field name="Skin Detail Factor" start="159" end="159" type="uint">
9379f464c52Smaya      <value name="Detail Revealed" value="0"/>
9389f464c52Smaya      <value name="Not Detail Revealed" value="1"/>
9399f464c52Smaya    </field>
9409f464c52Smaya    <field name="Y_point_1" start="160" end="167" type="uint"/>
9419f464c52Smaya    <field name="Y_point_2" start="168" end="175" type="uint"/>
9429f464c52Smaya    <field name="Y_point_3" start="176" end="183" type="uint"/>
9439f464c52Smaya    <field name="Y_point_4" start="184" end="191" type="uint"/>
9449f464c52Smaya    <field name="INV_Margin_VYL" start="192" end="207" type="u0.16"/>
9459f464c52Smaya    <field name="INV_Margin_VYU" start="224" end="239" type="u0.16"/>
9469f464c52Smaya    <field name="P0L" start="240" end="247" type="uint"/>
9479f464c52Smaya    <field name="P1L" start="248" end="255" type="uint"/>
9489f464c52Smaya    <field name="P2L" start="256" end="263" type="uint"/>
9499f464c52Smaya    <field name="P3L" start="264" end="271" type="uint"/>
9509f464c52Smaya    <field name="B0L" start="272" end="279" type="uint"/>
9519f464c52Smaya    <field name="B1L" start="280" end="287" type="uint"/>
9529f464c52Smaya    <field name="B2L" start="288" end="295" type="uint"/>
9539f464c52Smaya    <field name="B3L" start="296" end="303" type="uint"/>
9549f464c52Smaya    <field name="S0L" start="304" end="314" type="s2.8"/>
9559f464c52Smaya    <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
9569f464c52Smaya    <field name="S1L" start="320" end="330" type="s2.8"/>
9579f464c52Smaya    <field name="S2L" start="331" end="341" type="s2.8"/>
9589f464c52Smaya    <field name="S3L" start="352" end="362" type="s2.8"/>
9599f464c52Smaya    <field name="P0U" start="363" end="370" type="uint"/>
9609f464c52Smaya    <field name="P1U" start="371" end="378" type="uint"/>
9619f464c52Smaya    <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
9629f464c52Smaya    <field name="P2U" start="384" end="391" type="uint"/>
9639f464c52Smaya    <field name="P3U" start="392" end="399" type="uint"/>
9649f464c52Smaya    <field name="B0U" start="400" end="407" type="uint"/>
9659f464c52Smaya    <field name="B1U" start="408" end="415" type="uint"/>
9669f464c52Smaya    <field name="B2U" start="416" end="423" type="uint"/>
9679f464c52Smaya    <field name="B3U" start="424" end="431" type="uint"/>
9689f464c52Smaya    <field name="S0U" start="432" end="442" type="s2.8"/>
9699f464c52Smaya    <field name="S1U" start="448" end="458" type="s2.8"/>
9709f464c52Smaya    <field name="S2U" start="459" end="469" type="s2.8"/>
9719f464c52Smaya    <field name="Transform Enable" start="480" end="480" type="bool"/>
9729f464c52Smaya    <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
9739f464c52Smaya    <field name="C0" start="483" end="495" type="s2.10"/>
9749f464c52Smaya    <field name="C1" start="496" end="508" type="s2.10"/>
9759f464c52Smaya    <field name="C2" start="512" end="524" type="s2.10"/>
9769f464c52Smaya    <field name="C3" start="525" end="537" type="s2.10"/>
9779f464c52Smaya    <field name="C4" start="544" end="556" type="s2.10"/>
9789f464c52Smaya    <field name="C5" start="557" end="569" type="s2.10"/>
9799f464c52Smaya    <field name="C6" start="576" end="588" type="s2.10"/>
9809f464c52Smaya    <field name="C7" start="589" end="601" type="s2.10"/>
9819f464c52Smaya    <field name="C8" start="608" end="620" type="s2.10"/>
9829f464c52Smaya    <field name="Offset In 1" start="640" end="650" type="s2.8"/>
9839f464c52Smaya    <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
9849f464c52Smaya    <field name="Offset In 2" start="672" end="682" type="s2.8"/>
9859f464c52Smaya    <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
9869f464c52Smaya    <field name="Offset In 3" start="704" end="714" type="s2.8"/>
9879f464c52Smaya    <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
9889f464c52Smaya  </struct>
9899f464c52Smaya
9909f464c52Smaya  <struct name="SFC_LOCK_BODY" length="1">
9919f464c52Smaya    <field name="VE-SFC Pipe Select" start="0" end="0" type="uint"/>
9929f464c52Smaya    <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
9939f464c52Smaya  </struct>
9949f464c52Smaya
9959f464c52Smaya  <struct name="SF_CLIP_VIEWPORT" length="16">
9969f464c52Smaya    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
9979f464c52Smaya    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
9989f464c52Smaya    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
9999f464c52Smaya    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
10009f464c52Smaya    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
10019f464c52Smaya    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
10029f464c52Smaya    <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
10039f464c52Smaya    <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
10049f464c52Smaya    <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
10059f464c52Smaya    <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
10069f464c52Smaya    <field name="X Min ViewPort" start="384" end="415" type="float"/>
10079f464c52Smaya    <field name="X Max ViewPort" start="416" end="447" type="float"/>
10089f464c52Smaya    <field name="Y Min ViewPort" start="448" end="479" type="float"/>
10099f464c52Smaya    <field name="Y Max ViewPort" start="480" end="511" type="float"/>
10109f464c52Smaya  </struct>
10119f464c52Smaya
10129f464c52Smaya  <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
10139f464c52Smaya    <field name="Source Attribute" start="0" end="4" type="uint"/>
10149f464c52Smaya    <field name="Swizzle Select" start="6" end="7" type="uint">
10159f464c52Smaya      <value name="INPUTATTR" value="0"/>
10169f464c52Smaya      <value name="INPUTATTR_FACING" value="1"/>
10179f464c52Smaya      <value name="INPUTATTR_W" value="2"/>
10189f464c52Smaya      <value name="INPUTATTR_FACING_W" value="3"/>
101901e04c3fSmrg    </field>
10209f464c52Smaya    <field name="Constant Source" start="9" end="10" type="uint">
10219f464c52Smaya      <value name="CONST_0000" value="0"/>
10229f464c52Smaya      <value name="CONST_0001_FLOAT" value="1"/>
10239f464c52Smaya      <value name="CONST_1111_FLOAT" value="2"/>
10249f464c52Smaya      <value name="PRIM_ID" value="3"/>
102501e04c3fSmrg    </field>
10269f464c52Smaya    <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
10279f464c52Smaya    <field name="Component Override X" start="12" end="12" type="bool"/>
10289f464c52Smaya    <field name="Component Override Y" start="13" end="13" type="bool"/>
10299f464c52Smaya    <field name="Component Override Z" start="14" end="14" type="bool"/>
10309f464c52Smaya    <field name="Component Override W" start="15" end="15" type="bool"/>
10319f464c52Smaya  </struct>
10329f464c52Smaya
10339f464c52Smaya  <struct name="SO_DECL" length="1">
10349f464c52Smaya    <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
10359f464c52Smaya    <field name="Register Index" start="4" end="9" type="uint"/>
10367ec681f3Smrg    <field name="Hole Flag" start="11" end="11" type="bool"/>
10379f464c52Smaya    <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
10389f464c52Smaya  </struct>
10399f464c52Smaya
10409f464c52Smaya  <struct name="SO_DECL_ENTRY" length="2">
10419f464c52Smaya    <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
10429f464c52Smaya    <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
10439f464c52Smaya    <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
10449f464c52Smaya    <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
10459f464c52Smaya  </struct>
10469f464c52Smaya
10479f464c52Smaya  <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
10489f464c52Smaya    <field name="MOCS" start="1" end="6" type="uint"/>
10499f464c52Smaya    <field name="Arbitration Priority Control" start="7" end="8" type="uint">
10509f464c52Smaya      <value name="Highest priority" value="0"/>
10519f464c52Smaya      <value name="Second highest priority" value="1"/>
10529f464c52Smaya      <value name="Third highest priority" value="2"/>
10539f464c52Smaya      <value name="Lowest priority" value="3"/>
10549f464c52Smaya    </field>
10559f464c52Smaya    <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
10569f464c52Smaya    <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
10579f464c52Smaya    <field name="Cache Select" start="12" end="12" type="uint"/>
10589f464c52Smaya    <field name="Tiled Resource Mode" start="13" end="14" type="uint">
10599f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
10609f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
10619f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
106201e04c3fSmrg    </field>
106301e04c3fSmrg  </struct>
106401e04c3fSmrg
10659f464c52Smaya  <struct name="VDENC_PICTURE" length="3">
10669f464c52Smaya    <field name="Address" start="0" end="63" type="address"/>
10679f464c52Smaya    <field name="Picture Fields" start="64" end="95" type="VDENC_SURFACE_CONTROL_BITS"/>
10689f464c52Smaya  </struct>
10699f464c52Smaya
10709f464c52Smaya  <struct name="VDENC_SURFACE_STATE_FIELDS" length="4">
10719f464c52Smaya    <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="0" end="1" type="u0.2"/>
10729f464c52Smaya    <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
10739f464c52Smaya    <field name="Color space selection" start="3" end="3" type="uint"/>
10749f464c52Smaya    <field name="Width" start="4" end="17" type="uint"/>
10759f464c52Smaya    <field name="Height" start="18" end="31" type="uint"/>
10769f464c52Smaya    <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
10779f464c52Smaya      <value name="XMAJOR" value="0"/>
10789f464c52Smaya      <value name="YMAJOR" value="1"/>
10799f464c52Smaya    </field>
10809f464c52Smaya    <field name="Tiled Surface" start="33" end="33" type="uint"/>
10819f464c52Smaya    <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
10829f464c52Smaya    <field name="Surface Pitch" start="35" end="51" type="uint"/>
10839f464c52Smaya    <field name="Format" start="59" end="63" type="uint"/>
10849f464c52Smaya    <field name="Surface Format" start="60" end="63" type="uint" prefix="VDENC">
10859f464c52Smaya      <value name="YUV 4:2:2" value="0"/>
10869f464c52Smaya      <value name="RGBA 4:4:4:4" value="1"/>
10879f464c52Smaya      <value name="YUV 4:4:4" value="2"/>
10889f464c52Smaya      <value name="Y8_UNORM" value="3"/>
10899f464c52Smaya      <value name="PLANAR_420_8" value="4"/>
10909f464c52Smaya    </field>
10919f464c52Smaya    <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
10929f464c52Smaya    <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
10939f464c52Smaya    <field name="Y Offset for V(Cr)" start="96" end="111" type="uint"/>
10949f464c52Smaya    <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
10959f464c52Smaya  </struct>
10969f464c52Smaya
10979f464c52Smaya  <struct name="VERTEX_BUFFER_STATE" length="4">
10989f464c52Smaya    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
10999f464c52Smaya    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
11009f464c52Smaya    <field name="Address Modify Enable" start="14" end="14" type="bool"/>
11019f464c52Smaya    <field name="MOCS" start="16" end="22" type="uint"/>
11029f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
11039f464c52Smaya    <field name="Buffer Starting Address" start="32" end="95" type="address"/>
11049f464c52Smaya    <field name="Buffer Size" start="96" end="127" type="uint"/>
11059f464c52Smaya  </struct>
11069f464c52Smaya
11079f464c52Smaya  <struct name="VERTEX_ELEMENT_STATE" length="2">
11089f464c52Smaya    <field name="Source Element Offset" start="0" end="11" type="uint"/>
11099f464c52Smaya    <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
11109f464c52Smaya    <field name="Source Element Format" start="16" end="24" type="uint"/>
11119f464c52Smaya    <field name="Valid" start="25" end="25" type="bool"/>
11129f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
11139f464c52Smaya    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
11149f464c52Smaya    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
11159f464c52Smaya    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
11169f464c52Smaya    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
11179f464c52Smaya  </struct>
11189f464c52Smaya
11199f464c52Smaya  <instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
112001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
11219f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
11229f464c52Smaya    <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
11239f464c52Smaya    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
11249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
11259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
11269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
11289f464c52Smaya    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
112901e04c3fSmrg    <field name="Vertex Access Type" start="40" end="40" type="uint">
113001e04c3fSmrg      <value name="SEQUENTIAL" value="0"/>
113101e04c3fSmrg      <value name="RANDOM" value="1"/>
113201e04c3fSmrg    </field>
11339f464c52Smaya    <field name="End Offset Enable" start="41" end="41" type="bool"/>
113401e04c3fSmrg    <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
113501e04c3fSmrg    <field name="Start Vertex Location" start="96" end="127" type="uint"/>
113601e04c3fSmrg    <field name="Instance Count" start="128" end="159" type="uint"/>
113701e04c3fSmrg    <field name="Start Instance Location" start="160" end="191" type="uint"/>
113801e04c3fSmrg    <field name="Base Vertex Location" start="192" end="223" type="int"/>
113901e04c3fSmrg  </instruction>
114001e04c3fSmrg
11419f464c52Smaya  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
114201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
11439f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
11449f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
11459f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11469f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
114701e04c3fSmrg    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
11489f464c52Smaya    <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
11499f464c52Smaya    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
11509f464c52Smaya    <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
115101e04c3fSmrg    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
11529f464c52Smaya    <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
11539f464c52Smaya    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
11549f464c52Smaya    <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
115501e04c3fSmrg  </instruction>
115601e04c3fSmrg
11579f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
115801e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
11599f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
11609f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11619f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
116301e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
116401e04c3fSmrg      <value name="All Cores" value="3"/>
116501e04c3fSmrg      <value name="Core 1" value="2"/>
116601e04c3fSmrg      <value name="Core 0" value="1"/>
116701e04c3fSmrg    </field>
11689f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
116901e04c3fSmrg    <group count="0" start="64" size="32">
117001e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
117101e04c3fSmrg    </group>
117201e04c3fSmrg  </instruction>
117301e04c3fSmrg
11749f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
117501e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
11769f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
11779f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11789f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11799f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
118001e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
118101e04c3fSmrg      <value name="All Cores" value="3"/>
118201e04c3fSmrg      <value name="Core 1" value="2"/>
118301e04c3fSmrg      <value name="Core 0" value="1"/>
118401e04c3fSmrg    </field>
11859f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
118601e04c3fSmrg    <group count="0" start="64" size="32">
118701e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
118801e04c3fSmrg    </group>
118901e04c3fSmrg  </instruction>
119001e04c3fSmrg
11919f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
119201e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
11939f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
11949f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11959f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
11979f464c52Smaya    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
11989f464c52Smaya      <value name="All Cores" value="3"/>
11999f464c52Smaya      <value name="Core 1" value="2"/>
120001e04c3fSmrg      <value name="Core 0" value="1"/>
120101e04c3fSmrg    </field>
12029f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
120301e04c3fSmrg    <group count="0" start="64" size="32">
120401e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
120501e04c3fSmrg    </group>
120601e04c3fSmrg  </instruction>
120701e04c3fSmrg
12089f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
120901e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
12109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
12119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
121401e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
121501e04c3fSmrg      <value name="All Cores" value="3"/>
121601e04c3fSmrg      <value name="Core 1" value="2"/>
121701e04c3fSmrg      <value name="Core 0" value="1"/>
121801e04c3fSmrg    </field>
12199f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
122001e04c3fSmrg    <group count="0" start="64" size="32">
122101e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
122201e04c3fSmrg    </group>
122301e04c3fSmrg  </instruction>
122401e04c3fSmrg
12259f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
122601e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
12279f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
12289f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12299f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
123101e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
123201e04c3fSmrg      <value name="All Cores" value="3"/>
123301e04c3fSmrg      <value name="Core 1" value="2"/>
123401e04c3fSmrg      <value name="Core 0" value="1"/>
123501e04c3fSmrg    </field>
12369f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
123701e04c3fSmrg    <group count="0" start="64" size="32">
123801e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
123901e04c3fSmrg    </group>
124001e04c3fSmrg  </instruction>
124101e04c3fSmrg
12429f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
124301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12449f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
12459f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12469f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12479f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
124801e04c3fSmrg    <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
124901e04c3fSmrg  </instruction>
125001e04c3fSmrg
12519f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
125201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12539f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
12549f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12559f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12569f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
125701e04c3fSmrg    <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
125801e04c3fSmrg  </instruction>
125901e04c3fSmrg
12609f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
126101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12629f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
12639f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12649f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12659f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
126601e04c3fSmrg    <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
126701e04c3fSmrg  </instruction>
126801e04c3fSmrg
12699f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
127001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12719f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
12729f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12739f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
127501e04c3fSmrg    <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
127601e04c3fSmrg  </instruction>
127701e04c3fSmrg
12789f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
127901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12809f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
12819f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12829f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
128401e04c3fSmrg    <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
128501e04c3fSmrg  </instruction>
128601e04c3fSmrg
12879f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
128801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
12899f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
12909f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12919f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
12939f464c52Smaya    <field name="MOCS" start="32" end="38" type="uint"/>
12947ec681f3Smrg    <field name="Binding Table Pool Enable" start="43" end="43" type="bool"/>
12959f464c52Smaya    <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
129601e04c3fSmrg    <field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
129701e04c3fSmrg      <value name="No Valid Data" value="0"/>
129801e04c3fSmrg    </field>
129901e04c3fSmrg  </instruction>
130001e04c3fSmrg
13019f464c52Smaya  <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
130201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
13039f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
13049f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13059f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13069f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
130701e04c3fSmrg    <field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
13089f464c52Smaya    <field name="Blend State Pointer" start="38" end="63" type="offset"/>
130901e04c3fSmrg  </instruction>
131001e04c3fSmrg
13119f464c52Smaya  <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
131201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
13139f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
13149f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13159f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
131701e04c3fSmrg    <field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
13189f464c52Smaya    <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
131901e04c3fSmrg  </instruction>
132001e04c3fSmrg
13219f464c52Smaya  <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
132201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
13239f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
13249f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
13259f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
132701e04c3fSmrg    <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
132801e04c3fSmrg    <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
132901e04c3fSmrg    <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
133001e04c3fSmrg  </instruction>
133101e04c3fSmrg
13329f464c52Smaya  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
133301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
13349f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
13359f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13369f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13379f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
133801e04c3fSmrg    <field name="Depth Clear Value" start="32" end="63" type="float"/>
133901e04c3fSmrg    <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
134001e04c3fSmrg  </instruction>
134101e04c3fSmrg
13429f464c52Smaya  <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
134301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
13449f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
13459f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13469f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13479f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
13489f464c52Smaya    <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
13499f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
13509f464c52Smaya    <field name="Force Clip Mode" start="48" end="48" type="bool"/>
13519f464c52Smaya    <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
13529f464c52Smaya    <field name="Early Cull Enable" start="50" end="50" type="bool"/>
135301e04c3fSmrg    <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
135401e04c3fSmrg      <value name="8 Bit" value="0"/>
135501e04c3fSmrg      <value name="4 Bit" value="1"/>
135601e04c3fSmrg    </field>
13579f464c52Smaya    <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
13589f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
13599f464c52Smaya    <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
13609f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
13619f464c52Smaya    <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
13629f464c52Smaya    <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
136301e04c3fSmrg    <field name="Clip Mode" start="77" end="79" type="uint">
136401e04c3fSmrg      <value name="CLIPMODE_NORMAL" value="0"/>
136501e04c3fSmrg      <value name="CLIPMODE_REJECT_ALL" value="3"/>
136601e04c3fSmrg      <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
136701e04c3fSmrg    </field>
13689f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
13699f464c52Smaya    <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
13709f464c52Smaya    <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
13719f464c52Smaya    <field name="API Mode" start="94" end="94" type="uint">
13729f464c52Smaya      <value name="APIMODE_OGL" value="0"/>
13739f464c52Smaya      <value name="APIMODE_D3D" value="1"/>
13749f464c52Smaya    </field>
13759f464c52Smaya    <field name="Clip Enable" start="95" end="95" type="bool"/>
137601e04c3fSmrg    <field name="Maximum VP Index" start="96" end="99" type="uint"/>
13779f464c52Smaya    <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
13789f464c52Smaya    <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
13799f464c52Smaya    <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
138001e04c3fSmrg  </instruction>
138101e04c3fSmrg
13829f464c52Smaya  <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
138301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
13849f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
13859f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
13869f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13879f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13889f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
138901e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
139001e04c3fSmrg  </instruction>
139101e04c3fSmrg
13929f464c52Smaya  <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
139301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
13949f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
13959f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
13969f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13979f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
139901e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
140001e04c3fSmrg  </instruction>
140101e04c3fSmrg
14029f464c52Smaya  <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
140301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
14049f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
14059f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
14069f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14079f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14089f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
140901e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
141001e04c3fSmrg  </instruction>
141101e04c3fSmrg
14129f464c52Smaya  <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
141301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
14149f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
14159f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
14169f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14179f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
141901e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
142001e04c3fSmrg  </instruction>
142101e04c3fSmrg
14229f464c52Smaya  <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
142301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
14249f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
14259f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
14269f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14279f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
142901e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
143001e04c3fSmrg  </instruction>
143101e04c3fSmrg
14329f464c52Smaya  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
143301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
14349f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
14359f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14369f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14379f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
14389f464c52Smaya    <field name="Surface Pitch" start="32" end="49" type="uint"/>
143901e04c3fSmrg    <field name="Surface Format" start="50" end="52" type="uint">
144001e04c3fSmrg      <value name="D32_FLOAT" value="1"/>
144101e04c3fSmrg      <value name="D24_UNORM_X8_UINT" value="3"/>
144201e04c3fSmrg      <value name="D16_UNORM" value="5"/>
144301e04c3fSmrg    </field>
14449f464c52Smaya    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
14459f464c52Smaya    <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
14469f464c52Smaya    <field name="Depth Write Enable" start="60" end="60" type="bool"/>
14479f464c52Smaya    <field name="Surface Type" start="61" end="63" type="uint">
14489f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
14499f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
14509f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
14519f464c52Smaya    </field>
145201e04c3fSmrg    <field name="Surface Base Address" start="64" end="127" type="address"/>
145301e04c3fSmrg    <field name="LOD" start="128" end="131" type="uint"/>
14549f464c52Smaya    <field name="Width" start="132" end="145" type="uint"/>
14559f464c52Smaya    <field name="Height" start="146" end="159" type="uint"/>
14569f464c52Smaya    <field name="MOCS" start="160" end="166" type="uint"/>
145701e04c3fSmrg    <field name="Minimum Array Element" start="170" end="180" type="uint"/>
14589f464c52Smaya    <field name="Depth" start="181" end="191" type="uint"/>
14599f464c52Smaya    <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
146001e04c3fSmrg    <field name="Tiled Resource Mode" start="222" end="223" type="uint">
146101e04c3fSmrg      <value name="NONE" value="0"/>
146201e04c3fSmrg      <value name="TILEYF" value="1"/>
146301e04c3fSmrg      <value name="TILEYS" value="2"/>
146401e04c3fSmrg    </field>
146501e04c3fSmrg    <field name="Surface QPitch" start="224" end="238" type="uint"/>
14669f464c52Smaya    <field name="Render Target View Extent" start="245" end="255" type="uint"/>
146701e04c3fSmrg  </instruction>
146801e04c3fSmrg
14699f464c52Smaya  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
14709f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
147101e04c3fSmrg    <field name="Core Mode Select" start="14" end="15" type="uint">
147201e04c3fSmrg      <value name="Legacy" value="0"/>
147301e04c3fSmrg      <value name="Core 0 Enabled" value="1"/>
147401e04c3fSmrg      <value name="Core 1 Enabled" value="2"/>
147501e04c3fSmrg    </field>
14769f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
14779f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14789f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14799f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
148001e04c3fSmrg    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
14819f464c52Smaya    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
148201e04c3fSmrg    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
14839f464c52Smaya    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
148401e04c3fSmrg    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
14859f464c52Smaya    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
148601e04c3fSmrg  </instruction>
148701e04c3fSmrg
14889f464c52Smaya  <instruction name="3DSTATE_DS" bias="2" length="11" engine="render">
148901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
14909f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
14919f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14929f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14939f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
149401e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
14959f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
14969f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
14979f464c52Smaya    <field name="Accesses UAV" start="110" end="110" type="bool"/>
14989f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
14999f464c52Smaya      <value name="IEEE-754" value="0"/>
15009f464c52Smaya      <value name="Alternate" value="1"/>
15019f464c52Smaya    </field>
15029f464c52Smaya    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
15039f464c52Smaya      <value name="High" value="1"/>
15049f464c52Smaya    </field>
15059f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
150601e04c3fSmrg    <field name="Sampler Count" start="123" end="125" type="uint">
150701e04c3fSmrg      <value name="No Samplers" value="0"/>
150801e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
150901e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
151001e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
151101e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
151201e04c3fSmrg    </field>
15139f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
151401e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
15159f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
151601e04c3fSmrg    <field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
15179f464c52Smaya    <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
15189f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
15199f464c52Smaya    <field name="Enable" start="224" end="224" type="bool"/>
15209f464c52Smaya    <field name="Cache Disable" start="225" end="225" type="bool"/>
15219f464c52Smaya    <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
152201e04c3fSmrg    <field name="Dispatch Mode" start="227" end="228" type="uint" prefix="DISPATCH_MODE">
152301e04c3fSmrg      <value name="SIMD4X2" value="0"/>
152401e04c3fSmrg      <value name="SIMD8_SINGLE_PATCH" value="1"/>
152501e04c3fSmrg      <value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2"/>
152601e04c3fSmrg    </field>
15279f464c52Smaya    <field name="Statistics Enable" start="234" end="234" type="bool"/>
15289f464c52Smaya    <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
152901e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
15309f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
15319f464c52Smaya    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
15329f464c52Smaya    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
153301e04c3fSmrg    <field name="DUAL_PATCH Kernel Start Pointer" start="294" end="351" type="offset"/>
153401e04c3fSmrg  </instruction>
153501e04c3fSmrg
15369f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
153701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
15389f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
15399f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15409f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15419f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
154201e04c3fSmrg    <field name="Update Gather Table Only" start="33" end="33" type="uint">
154301e04c3fSmrg      <value name="Commit Gather" value="0"/>
154401e04c3fSmrg      <value name="Non-Commit Gather" value="1"/>
154501e04c3fSmrg    </field>
15469f464c52Smaya    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
15479f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
154801e04c3fSmrg    <field name="On-Die Table" start="67" end="67" type="uint">
154901e04c3fSmrg      <value name="Load" value="0"/>
155001e04c3fSmrg      <value name="Read" value="1"/>
155101e04c3fSmrg    </field>
15529f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
15539f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
155401e04c3fSmrg    <group count="0" start="96" size="32">
155501e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
155601e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
155701e04c3fSmrg    </group>
155801e04c3fSmrg  </instruction>
155901e04c3fSmrg
15609f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
156101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
15629f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
15639f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15649f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15659f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
156601e04c3fSmrg    <field name="Update Gather Table Only" start="33" end="33" type="uint">
156701e04c3fSmrg      <value name="Commit Gather" value="0"/>
156801e04c3fSmrg      <value name="Non-Commit Gather" value="1"/>
156901e04c3fSmrg    </field>
15709f464c52Smaya    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
15719f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
157201e04c3fSmrg    <field name="On-Die Table" start="67" end="67" type="uint">
157301e04c3fSmrg      <value name="Load" value="0"/>
157401e04c3fSmrg      <value name="Read" value="1"/>
157501e04c3fSmrg    </field>
15769f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
15779f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
157801e04c3fSmrg    <group count="0" start="96" size="32">
157901e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
158001e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
158101e04c3fSmrg    </group>
158201e04c3fSmrg  </instruction>
158301e04c3fSmrg
15849f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
158501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
15869f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
15879f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15889f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15899f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
159001e04c3fSmrg    <field name="Update Gather Table Only" start="33" end="33" type="uint">
159101e04c3fSmrg      <value name="Commit Gather" value="0"/>
159201e04c3fSmrg      <value name="Non-Commit Gather" value="1"/>
159301e04c3fSmrg    </field>
15949f464c52Smaya    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
15959f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
159601e04c3fSmrg    <field name="On-Die Table" start="67" end="67" type="uint">
159701e04c3fSmrg      <value name="Load" value="0"/>
159801e04c3fSmrg      <value name="Read" value="1"/>
159901e04c3fSmrg    </field>
16009f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
16019f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
160201e04c3fSmrg    <group count="0" start="96" size="32">
160301e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
160401e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
160501e04c3fSmrg    </group>
160601e04c3fSmrg  </instruction>
160701e04c3fSmrg
16089f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
160901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
16109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
16119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16149f464c52Smaya    <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
161501e04c3fSmrg    <field name="Update Gather Table Only" start="33" end="33" type="uint">
161601e04c3fSmrg      <value name="Commit Gather" value="0"/>
161701e04c3fSmrg      <value name="Non-Commit Gather" value="1"/>
161801e04c3fSmrg    </field>
16199f464c52Smaya    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
16209f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
162101e04c3fSmrg    <field name="On-Die Table" start="67" end="67" type="uint">
162201e04c3fSmrg      <value name="Load" value="0"/>
162301e04c3fSmrg      <value name="Read" value="1"/>
162401e04c3fSmrg    </field>
16259f464c52Smaya    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
16269f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
16279f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
162801e04c3fSmrg    <group count="0" start="96" size="32">
162901e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
163001e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
163101e04c3fSmrg    </group>
163201e04c3fSmrg  </instruction>
163301e04c3fSmrg
16349f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
163501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
16369f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
16379f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16389f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16409f464c52Smaya    <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
164101e04c3fSmrg    <field name="Update Gather Table Only" start="33" end="33" type="uint">
164201e04c3fSmrg      <value name="Commit Gather" value="0"/>
164301e04c3fSmrg      <value name="Non-Commit Gather" value="1"/>
164401e04c3fSmrg    </field>
16459f464c52Smaya    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
16469f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
164701e04c3fSmrg    <field name="On-Die Table" start="67" end="67" type="uint">
164801e04c3fSmrg      <value name="Load" value="0"/>
164901e04c3fSmrg      <value name="Read" value="1"/>
165001e04c3fSmrg    </field>
16519f464c52Smaya    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
16529f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
16539f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
165401e04c3fSmrg    <group count="0" start="96" size="32">
165501e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
165601e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
165701e04c3fSmrg    </group>
165801e04c3fSmrg  </instruction>
165901e04c3fSmrg
16609f464c52Smaya  <instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
166101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
16629f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
16639f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
16649f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16659f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16669f464c52Smaya    <field name="MOCS" start="32" end="38" type="uint"/>
166701e04c3fSmrg    <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
16689f464c52Smaya    <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
166901e04c3fSmrg    <field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
167001e04c3fSmrg  </instruction>
167101e04c3fSmrg
16729f464c52Smaya  <instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
167301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
16749f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
16759f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16769f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
167801e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
16799f464c52Smaya    <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
16809f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
16819f464c52Smaya    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
16829f464c52Smaya    <field name="Accesses UAV" start="108" end="108" type="bool"/>
16839f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
16849f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
16859f464c52Smaya      <value name="IEEE-754" value="0"/>
16869f464c52Smaya      <value name="Alternate" value="1"/>
16879f464c52Smaya    </field>
16889f464c52Smaya    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
16899f464c52Smaya      <value name="High" value="1"/>
16909f464c52Smaya    </field>
16919f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
169201e04c3fSmrg    <field name="Sampler Count" start="123" end="125" type="uint">
169301e04c3fSmrg      <value name="No Samplers" value="0"/>
169401e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
169501e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
169601e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
169701e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
169801e04c3fSmrg    </field>
16999f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
17009f464c52Smaya    <field name="Single Program Flow" start="127" end="127" type="bool"/>
170101e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
17029f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
170301e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
17049f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
17059f464c52Smaya    <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
17069f464c52Smaya    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
17079f464c52Smaya    <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
17089f464c52Smaya    <field name="Output Vertex Size" start="215" end="220" type="uint"/>
17099f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
17109f464c52Smaya    <field name="Enable" start="224" end="224" type="bool"/>
17119f464c52Smaya    <field name="Discard Adjacency" start="225" end="225" type="bool"/>
17129f464c52Smaya    <field name="Reorder Mode" start="226" end="226" type="uint">
17139f464c52Smaya      <value name="LEADING" value="0"/>
17149f464c52Smaya      <value name="TRAILING" value="1"/>
17159f464c52Smaya    </field>
17169f464c52Smaya    <field name="Hint" start="227" end="227" type="uint"/>
17179f464c52Smaya    <field name="Include Primitive ID" start="228" end="228" type="bool"/>
17189f464c52Smaya    <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
17199f464c52Smaya    <field name="Statistics Enable" start="234" end="234" type="bool"/>
172001e04c3fSmrg    <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
172101e04c3fSmrg      <value name="Dual Instance" value="1"/>
172201e04c3fSmrg      <value name="Dual Object" value="2"/>
172301e04c3fSmrg      <value name="SIMD8" value="3"/>
172401e04c3fSmrg    </field>
17259f464c52Smaya    <field name="Default Stream Id" start="237" end="238" type="uint"/>
17269f464c52Smaya    <field name="Instance Control" start="239" end="243" type="uint"/>
17279f464c52Smaya    <field name="Control Data Header Size" start="244" end="247" type="uint"/>
17289f464c52Smaya    <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
17299f464c52Smaya    <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
17309f464c52Smaya    <field name="Static Output" start="286" end="286" type="bool"/>
173101e04c3fSmrg    <field name="Control Data Format" start="287" end="287" type="uint">
173201e04c3fSmrg      <value name="CUT" value="0"/>
173301e04c3fSmrg      <value name="SID" value="1"/>
173401e04c3fSmrg    </field>
173501e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
17369f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
17379f464c52Smaya    <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
17389f464c52Smaya    <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
173901e04c3fSmrg  </instruction>
174001e04c3fSmrg
17419f464c52Smaya  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
174201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
17439f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
17449f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17459f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17469f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
174701e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
17489f464c52Smaya    <field name="MOCS" start="57" end="63" type="uint"/>
174901e04c3fSmrg    <field name="Surface Base Address" start="64" end="127" type="address"/>
175001e04c3fSmrg    <field name="Surface QPitch" start="128" end="142" type="uint"/>
175101e04c3fSmrg  </instruction>
175201e04c3fSmrg
17539f464c52Smaya  <instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
175401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
17559f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
17569f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17579f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17589f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
17599f464c52Smaya    <field name="Software Exception Enable" start="44" end="44" type="bool"/>
17609f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
17619f464c52Smaya    <field name="Floating Point Mode" start="48" end="48" type="uint">
17629f464c52Smaya      <value name="IEEE-754" value="0"/>
17639f464c52Smaya      <value name="alternate" value="1"/>
17649f464c52Smaya    </field>
17659f464c52Smaya    <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
17669f464c52Smaya      <value name="High" value="1"/>
17679f464c52Smaya    </field>
17689f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
176901e04c3fSmrg    <field name="Sampler Count" start="59" end="61" type="uint">
177001e04c3fSmrg      <value name="No Samplers" value="0"/>
177101e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
177201e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
177301e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
177401e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
177501e04c3fSmrg    </field>
177601e04c3fSmrg    <field name="Instance Count" start="64" end="67" type="uint"/>
17779f464c52Smaya    <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
17789f464c52Smaya    <field name="Statistics Enable" start="93" end="93" type="bool"/>
17799f464c52Smaya    <field name="Enable" start="95" end="95" type="bool"/>
178001e04c3fSmrg    <field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
178101e04c3fSmrg    <field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
17829f464c52Smaya    <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
17839f464c52Smaya    <field name="Include Primitive ID" start="224" end="224" type="bool"/>
17849f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
17859f464c52Smaya    <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
178601e04c3fSmrg    <field name="Dispatch Mode" start="241" end="242" type="uint" prefix="DISPATCH_MODE">
178701e04c3fSmrg      <value name="SINGLE_PATCH" value="0"/>
178801e04c3fSmrg      <value name="DUAL_PATCH" value="1"/>
178901e04c3fSmrg      <value name="8_PATCH" value="2"/>
179001e04c3fSmrg    </field>
17919f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
17929f464c52Smaya    <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
17939f464c52Smaya    <field name="Accesses UAV" start="249" end="249" type="bool"/>
17949f464c52Smaya    <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
17959f464c52Smaya    <field name="Single Program Flow" start="251" end="251" type="bool"/>
17969f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
179701e04c3fSmrg  </instruction>
179801e04c3fSmrg
17999f464c52Smaya  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
180001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
18019f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
18029f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18039f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
18059f464c52Smaya    <field name="MOCS" start="32" end="38" type="uint"/>
180601e04c3fSmrg    <field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
180701e04c3fSmrg      <value name="BYTE" value="0"/>
180801e04c3fSmrg      <value name="WORD" value="1"/>
180901e04c3fSmrg      <value name="DWORD" value="2"/>
181001e04c3fSmrg    </field>
181101e04c3fSmrg    <field name="Buffer Starting Address" start="64" end="127" type="address"/>
181201e04c3fSmrg    <field name="Buffer Size" start="128" end="159" type="uint"/>
181301e04c3fSmrg  </instruction>
181401e04c3fSmrg
18159f464c52Smaya  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
181601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
18179f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
18189f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
18199f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
182101e04c3fSmrg    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
18229f464c52Smaya    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
18239f464c52Smaya    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
18249f464c52Smaya    <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
182501e04c3fSmrg    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
18269f464c52Smaya    <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
182701e04c3fSmrg  </instruction>
182801e04c3fSmrg
18299f464c52Smaya  <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
183001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
18319f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
18329f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
18339f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
183501e04c3fSmrg    <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
18369f464c52Smaya    <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
183701e04c3fSmrg  </instruction>
183801e04c3fSmrg
18399f464c52Smaya  <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
184001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
18419f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
18429f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18439f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
18459f464c52Smaya    <field name="Number of Multisamples" start="33" end="35" type="uint"/>
184601e04c3fSmrg    <field name="Pixel Location" start="36" end="36" type="uint">
184701e04c3fSmrg      <value name="CENTER" value="0"/>
184801e04c3fSmrg      <value name="UL_CORNER" value="1"/>
184901e04c3fSmrg    </field>
18509f464c52Smaya    <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
185101e04c3fSmrg  </instruction>
185201e04c3fSmrg
18539f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
185401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
18559f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
18569f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
18579f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18589f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
185901e04c3fSmrg    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
18609f464c52Smaya    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
186101e04c3fSmrg  </instruction>
186201e04c3fSmrg
18639f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
186401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
18659f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
18669f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
18679f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18689f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
186901e04c3fSmrg    <group count="32" start="32" size="32">
187001e04c3fSmrg      <field name="Pattern Row" start="0" end="31" type="uint"/>
187101e04c3fSmrg    </group>
187201e04c3fSmrg  </instruction>
187301e04c3fSmrg
18749f464c52Smaya  <instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
187501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="10"/>
18769f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
18779f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18789f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18799f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
188001e04c3fSmrg    <field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
18819f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
18829f464c52Smaya    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
18839f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
18849f464c52Smaya    <field name="Rounding Mode" start="110" end="111" type="uint">
18859f464c52Smaya      <value name="RTNE" value="0"/>
18869f464c52Smaya      <value name="RU" value="1"/>
18879f464c52Smaya      <value name="RD" value="2"/>
18889f464c52Smaya      <value name="RTZ" value="3"/>
188901e04c3fSmrg    </field>
18909f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
18919f464c52Smaya      <value name="IEEE-754" value="0"/>
18929f464c52Smaya      <value name="Alternate" value="1"/>
189301e04c3fSmrg    </field>
189401e04c3fSmrg    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
189501e04c3fSmrg      <value name="High" value="1"/>
189601e04c3fSmrg    </field>
18979f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
18989f464c52Smaya    <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
18999f464c52Smaya      <value name="Flushed to Zero" value="0"/>
19009f464c52Smaya      <value name="Retained" value="1"/>
190101e04c3fSmrg    </field>
19029f464c52Smaya    <field name="Sampler Count" start="123" end="125" type="uint">
19039f464c52Smaya      <value name="No Samplers" value="0"/>
19049f464c52Smaya      <value name="1-4 Samplers" value="1"/>
19059f464c52Smaya      <value name="5-8 Samplers" value="2"/>
19069f464c52Smaya      <value name="9-12 Samplers" value="3"/>
19079f464c52Smaya      <value name="13-16 Samplers" value="4"/>
190801e04c3fSmrg    </field>
19099f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
19109f464c52Smaya    <field name="Single Program Flow" start="127" end="127" type="bool"/>
191101e04c3fSmrg    <field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
19129f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
19139f464c52Smaya    <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
19149f464c52Smaya    <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
19159f464c52Smaya    <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
191601e04c3fSmrg    <field name="Position XY Offset Select" start="195" end="196" type="uint">
191701e04c3fSmrg      <value name="POSOFFSET_NONE" value="0"/>
191801e04c3fSmrg      <value name="POSOFFSET_CENTROID" value="2"/>
191901e04c3fSmrg      <value name="POSOFFSET_SAMPLE" value="3"/>
192001e04c3fSmrg    </field>
19219f464c52Smaya    <field name="Render Target Resolve Type" start="198" end="199" type="uint">
19229f464c52Smaya      <value name="RESOLVE_DISABLED" value="0"/>
19239f464c52Smaya      <value name="RESOLVE_PARTIAL" value="1"/>
19249f464c52Smaya      <value name="RESOLVE_FULL" value="3"/>
19259f464c52Smaya    </field>
19269f464c52Smaya    <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
19279f464c52Smaya    <field name="Push Constant Enable" start="203" end="203" type="bool"/>
19289f464c52Smaya    <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
192901e04c3fSmrg    <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
19309f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
19319f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
193201e04c3fSmrg    <field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
193301e04c3fSmrg    <field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
193401e04c3fSmrg  </instruction>
193501e04c3fSmrg
19369f464c52Smaya  <instruction name="3DSTATE_PS_BLEND" bias="2" length="2" engine="render">
193701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
19389f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
19399f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
19409f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19419f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
194201e04c3fSmrg    <field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
19439f464c52Smaya    <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
19449f464c52Smaya    <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
19459f464c52Smaya    <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
19469f464c52Smaya    <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
19479f464c52Smaya    <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
19489f464c52Smaya    <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
19499f464c52Smaya    <field name="Has Writeable RT" start="62" end="62" type="bool"/>
19509f464c52Smaya    <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
195101e04c3fSmrg  </instruction>
195201e04c3fSmrg
19539f464c52Smaya  <instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render">
195401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
19559f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
19569f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
19579f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19589f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
195901e04c3fSmrg    <field name="Input Coverage Mask State" start="32" end="33" type="uint" prefix="ICMS">
196001e04c3fSmrg      <value name="NONE" value="0"/>
196101e04c3fSmrg      <value name="NORMAL" value="1"/>
196201e04c3fSmrg      <value name="INNER_CONSERVATIVE" value="2"/>
196301e04c3fSmrg      <value name="DEPTH_COVERAGE" value="3"/>
196401e04c3fSmrg    </field>
19659f464c52Smaya    <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
19669f464c52Smaya    <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
19679f464c52Smaya    <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
19689f464c52Smaya    <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
19699f464c52Smaya    <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
19709f464c52Smaya    <field name="Attribute Enable" start="40" end="40" type="bool"/>
19719f464c52Smaya    <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
19729f464c52Smaya    <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
19739f464c52Smaya    <field name="Force Computed Depth" start="57" end="57" type="bool"/>
19749f464c52Smaya    <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
19759f464c52Smaya      <value name="PSCDEPTH_OFF" value="0"/>
19769f464c52Smaya      <value name="PSCDEPTH_ON" value="1"/>
19779f464c52Smaya      <value name="PSCDEPTH_ON_GE" value="2"/>
19789f464c52Smaya      <value name="PSCDEPTH_ON_LE" value="3"/>
19799f464c52Smaya    </field>
19809f464c52Smaya    <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
19819f464c52Smaya    <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
19829f464c52Smaya    <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
19839f464c52Smaya    <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
198401e04c3fSmrg  </instruction>
198501e04c3fSmrg
19869f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
198701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
19889f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
19899f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
19909f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
199201e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
19939f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
199401e04c3fSmrg  </instruction>
199501e04c3fSmrg
19969f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
199701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
19989f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
19999f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
20009f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20019f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
200201e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
20039f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
200401e04c3fSmrg  </instruction>
200501e04c3fSmrg
20069f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
200701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20089f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
20099f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
20109f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
201201e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
20139f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
201401e04c3fSmrg  </instruction>
201501e04c3fSmrg
20169f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
201701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20189f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
20199f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
20209f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
202201e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
20239f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
202401e04c3fSmrg  </instruction>
202501e04c3fSmrg
20269f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
20279f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20289f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
20299f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
203001e04c3fSmrg    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20329f464c52Smaya    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
20339f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
20349f464c52Smaya  </instruction>
20359f464c52Smaya
20369f464c52Smaya  <instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render">
203701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
20389f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
20399f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20409f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20419f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20429f464c52Smaya    <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
20439f464c52Smaya    <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
20449f464c52Smaya    <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
20459f464c52Smaya    <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
20469f464c52Smaya      <value name="SOLID" value="0"/>
20479f464c52Smaya      <value name="WIREFRAME" value="1"/>
20489f464c52Smaya      <value name="POINT" value="2"/>
204901e04c3fSmrg    </field>
20509f464c52Smaya    <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
20519f464c52Smaya      <value name="SOLID" value="0"/>
20529f464c52Smaya      <value name="WIREFRAME" value="1"/>
20539f464c52Smaya      <value name="POINT" value="2"/>
205401e04c3fSmrg    </field>
20559f464c52Smaya    <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
20569f464c52Smaya    <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
20579f464c52Smaya    <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
20589f464c52Smaya    <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
20599f464c52Smaya      <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
20609f464c52Smaya      <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
20619f464c52Smaya      <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
20629f464c52Smaya      <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
206301e04c3fSmrg    </field>
20649f464c52Smaya    <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
20659f464c52Smaya    <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
20669f464c52Smaya    <field name="Force Multisampling" start="46" end="46" type="uint"/>
206701e04c3fSmrg    <field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
206801e04c3fSmrg      <value name="BOTH" value="0"/>
206901e04c3fSmrg      <value name="NONE" value="1"/>
207001e04c3fSmrg      <value name="FRONT" value="2"/>
207101e04c3fSmrg      <value name="BACK" value="3"/>
207201e04c3fSmrg    </field>
20739f464c52Smaya    <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
20749f464c52Smaya      <value name="NUMRASTSAMPLES_0" value="0"/>
20759f464c52Smaya      <value name="NUMRASTSAMPLES_1" value="1"/>
20769f464c52Smaya      <value name="NUMRASTSAMPLES_2" value="2"/>
20779f464c52Smaya      <value name="NUMRASTSAMPLES_4" value="3"/>
20789f464c52Smaya      <value name="NUMRASTSAMPLES_8" value="4"/>
20799f464c52Smaya      <value name="NUMRASTSAMPLES_16" value="5"/>
208001e04c3fSmrg    </field>
20819f464c52Smaya    <field name="Front Winding" start="53" end="53" type="uint">
20829f464c52Smaya      <value name="Clockwise" value="0"/>
20839f464c52Smaya      <value name="Counter Clockwise" value="1"/>
208401e04c3fSmrg    </field>
20859f464c52Smaya    <field name="API Mode" start="54" end="55" type="uint">
20869f464c52Smaya      <value name="DX9/OGL" value="0"/>
20879f464c52Smaya      <value name="DX10.0" value="1"/>
20889f464c52Smaya      <value name="DX10.1+" value="2"/>
208901e04c3fSmrg    </field>
20909f464c52Smaya    <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
20919f464c52Smaya    <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
209201e04c3fSmrg    <field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
209301e04c3fSmrg    <field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
209401e04c3fSmrg    <field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
209501e04c3fSmrg  </instruction>
209601e04c3fSmrg
20979f464c52Smaya  <instruction name="3DSTATE_RS_CONSTANT_POINTER" bias="2" length="4" engine="render">
209801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
20999f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
21009f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21019f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21029f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
210301e04c3fSmrg    <field name="Operation Load or Store" start="44" end="44" type="uint" prefix="RS">
210401e04c3fSmrg      <value name="Store" value="0"/>
210501e04c3fSmrg      <value name="Load" value="1"/>
210601e04c3fSmrg    </field>
21079f464c52Smaya    <field name="Shader Select" start="60" end="62" type="uint">
21089f464c52Smaya      <value name="VS" value="0"/>
21099f464c52Smaya      <value name="PS" value="4"/>
21109f464c52Smaya    </field>
211101e04c3fSmrg    <field name="Global Constant Buffer Address" start="70" end="95" type="address"/>
211201e04c3fSmrg    <field name="Global Constant Buffer Address High" start="96" end="127" type="address"/>
211301e04c3fSmrg  </instruction>
211401e04c3fSmrg
21159f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
211601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint"/>
21179f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
21189f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
21199f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
212101e04c3fSmrg    <group count="0" start="32" size="32">
212201e04c3fSmrg      <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
212301e04c3fSmrg    </group>
212401e04c3fSmrg  </instruction>
212501e04c3fSmrg
21269f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
212701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21289f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
21299f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
21309f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
213201e04c3fSmrg    <group count="0" start="32" size="32">
213301e04c3fSmrg      <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
213401e04c3fSmrg      <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
213501e04c3fSmrg      <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/>
213601e04c3fSmrg      <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/>
213701e04c3fSmrg    </group>
213801e04c3fSmrg  </instruction>
213901e04c3fSmrg
21409f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
214101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21429f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
21439f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21449f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21459f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
214601e04c3fSmrg    <field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
214701e04c3fSmrg  </instruction>
214801e04c3fSmrg
21499f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
215001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21519f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
21529f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21539f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
215501e04c3fSmrg    <field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
215601e04c3fSmrg  </instruction>
215701e04c3fSmrg
21589f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
215901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21609f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
21619f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21629f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21639f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
216401e04c3fSmrg    <field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
216501e04c3fSmrg  </instruction>
216601e04c3fSmrg
21679f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
216801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21699f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
21709f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21719f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21729f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
217301e04c3fSmrg    <field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
217401e04c3fSmrg  </instruction>
217501e04c3fSmrg
21769f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
217701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
21799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
218201e04c3fSmrg    <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
218301e04c3fSmrg  </instruction>
218401e04c3fSmrg
21859f464c52Smaya  <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
218601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21879f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
21889f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21899f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
219101e04c3fSmrg    <field name="Sample Mask" start="32" end="47" type="uint"/>
219201e04c3fSmrg  </instruction>
219301e04c3fSmrg
21949f464c52Smaya  <instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9" engine="render">
219501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
21969f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
21979f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
21989f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21999f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
220001e04c3fSmrg    <field name="16x Sample0 Y Offset" start="32" end="35" type="u0.4"/>
22019f464c52Smaya    <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
22029f464c52Smaya    <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
22039f464c52Smaya    <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
22049f464c52Smaya    <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
22059f464c52Smaya    <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
22069f464c52Smaya    <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
22079f464c52Smaya    <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
22089f464c52Smaya    <field name="16x Sample4 Y Offset" start="64" end="67" type="u0.4"/>
22099f464c52Smaya    <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
22109f464c52Smaya    <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
22119f464c52Smaya    <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
22129f464c52Smaya    <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
22139f464c52Smaya    <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
22149f464c52Smaya    <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
22159f464c52Smaya    <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
221601e04c3fSmrg    <field name="16x Sample8 Y Offset" start="96" end="99" type="u0.4"/>
22179f464c52Smaya    <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
22189f464c52Smaya    <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
22199f464c52Smaya    <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
22209f464c52Smaya    <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
22219f464c52Smaya    <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
22229f464c52Smaya    <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
22239f464c52Smaya    <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
222401e04c3fSmrg    <field name="16x Sample12 Y Offset" start="128" end="131" type="u0.4"/>
22259f464c52Smaya    <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
22269f464c52Smaya    <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
22279f464c52Smaya    <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
22289f464c52Smaya    <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
22299f464c52Smaya    <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
22309f464c52Smaya    <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
22319f464c52Smaya    <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
223201e04c3fSmrg    <field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
22339f464c52Smaya    <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
22349f464c52Smaya    <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
22359f464c52Smaya    <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
22369f464c52Smaya    <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
22379f464c52Smaya    <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
22389f464c52Smaya    <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
22399f464c52Smaya    <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
224001e04c3fSmrg    <field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
22419f464c52Smaya    <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
22429f464c52Smaya    <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
22439f464c52Smaya    <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
22449f464c52Smaya    <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
22459f464c52Smaya    <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
22469f464c52Smaya    <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
22479f464c52Smaya    <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
224801e04c3fSmrg    <field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
22499f464c52Smaya    <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
22509f464c52Smaya    <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
22519f464c52Smaya    <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
22529f464c52Smaya    <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
22539f464c52Smaya    <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
22549f464c52Smaya    <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
22559f464c52Smaya    <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
225601e04c3fSmrg    <field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
22579f464c52Smaya    <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
22589f464c52Smaya    <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
22599f464c52Smaya    <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
22609f464c52Smaya    <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
22619f464c52Smaya    <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
226201e04c3fSmrg  </instruction>
226301e04c3fSmrg
22649f464c52Smaya  <instruction name="3DSTATE_SBE" bias="2" length="6" engine="render">
226501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
22669f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
22679f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
22689f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
22699f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
22709f464c52Smaya    <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
22719f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
22729f464c52Smaya    <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
22739f464c52Smaya    <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
22749f464c52Smaya    <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
22759f464c52Smaya    <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
22769f464c52Smaya    <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
227701e04c3fSmrg    <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
227801e04c3fSmrg      <value name="UPPERLEFT" value="0"/>
227901e04c3fSmrg      <value name="LOWERLEFT" value="1"/>
228001e04c3fSmrg    </field>
22819f464c52Smaya    <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
22829f464c52Smaya    <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
22839f464c52Smaya    <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
22849f464c52Smaya    <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
228501e04c3fSmrg    <field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
228601e04c3fSmrg    <field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
228701e04c3fSmrg    <group count="32" start="128" size="2">
228801e04c3fSmrg      <field name="Attribute Active Component Format" start="0" end="1" type="uint" prefix="ACTIVE_COMPONENT">
22899f464c52Smaya        <value name="DISABLED" value="0"/>
22909f464c52Smaya        <value name="XY" value="1"/>
22919f464c52Smaya        <value name="XYZ" value="2"/>
22929f464c52Smaya        <value name="XYZW" value="3"/>
229301e04c3fSmrg      </field>
229401e04c3fSmrg    </group>
229501e04c3fSmrg  </instruction>
229601e04c3fSmrg
22979f464c52Smaya  <instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11" engine="render">
229801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
22999f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
23009f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
23019f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
23029f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
230301e04c3fSmrg    <group count="16" start="32" size="16">
230401e04c3fSmrg      <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
230501e04c3fSmrg    </group>
230601e04c3fSmrg    <group count="16" start="288" size="4">
230701e04c3fSmrg      <field name="Attribute Wrap Shortest Enables" start="0" end="3" type="uint"/>
230801e04c3fSmrg    </group>
230901e04c3fSmrg  </instruction>
231001e04c3fSmrg
23119f464c52Smaya  <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
231201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
23139f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
23149f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
23159f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
23169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
231701e04c3fSmrg    <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
231801e04c3fSmrg  </instruction>
231901e04c3fSmrg
23209f464c52Smaya  <instruction name="3DSTATE_SF" bias="2" length="4" engine="render">
232101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
23229f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
23239f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
23249f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
23259f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
232601e04c3fSmrg    <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
23279f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
23289f464c52Smaya    <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
23299f464c52Smaya    <field name="Line Width" start="44" end="61" type="u11.7"/>
233001e04c3fSmrg    <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
233101e04c3fSmrg      <value name="0.5 pixels" value="0"/>
233201e04c3fSmrg      <value name="1.0 pixels" value="1"/>
233301e04c3fSmrg      <value name="2.0 pixels" value="2"/>
233401e04c3fSmrg      <value name="4.0 pixels" value="3"/>
233501e04c3fSmrg    </field>
23369f464c52Smaya    <field name="Point Width" start="96" end="106" type="u8.3"/>
23379f464c52Smaya    <field name="Point Width Source" start="107" end="107" type="uint">
23389f464c52Smaya      <value name="Vertex" value="0"/>
23399f464c52Smaya      <value name="State" value="1"/>
234001e04c3fSmrg    </field>
2341993e1d59Smrg    <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
2342993e1d59Smrg      <value name="8 Bit" value="0"/>
2343993e1d59Smrg      <value name="4 Bit" value="1"/>
2344993e1d59Smrg    </field>
23459f464c52Smaya    <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
23469f464c52Smaya    <field name="AA Line Distance Mode" start="110" end="110" type="uint">
23479f464c52Smaya      <value name="AALINEDISTANCE_TRUE" value="1"/>
234801e04c3fSmrg    </field>
23499f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
23509f464c52Smaya    <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
23519f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
23529f464c52Smaya    <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
235301e04c3fSmrg  </instruction>
235401e04c3fSmrg
23559f464c52Smaya  <instruction name="3DSTATE_SO_BUFFER" bias="2" length="8" engine="render">
235601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
23579f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
23589f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
23599f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
23609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
236101e04c3fSmrg    <field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
23629f464c52Smaya    <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
23639f464c52Smaya    <field name="MOCS" start="54" end="60" type="uint"/>
23649f464c52Smaya    <field name="SO Buffer Index" start="61" end="62" type="uint"/>
23659f464c52Smaya    <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
236601e04c3fSmrg    <field name="Surface Base Address" start="66" end="111" type="address"/>
236701e04c3fSmrg    <field name="Surface Size" start="128" end="157" type="uint"/>
236801e04c3fSmrg    <field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
236901e04c3fSmrg    <field name="Stream Offset" start="224" end="255" type="uint"/>
237001e04c3fSmrg  </instruction>
237101e04c3fSmrg
23729f464c52Smaya  <instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
237301e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint"/>
23749f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
23759f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
23769f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
23779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
237801e04c3fSmrg    <field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
23799f464c52Smaya    <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
23809f464c52Smaya    <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
23819f464c52Smaya    <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
238201e04c3fSmrg    <field name="Num Entries [0]" start="64" end="71" type="uint"/>
23839f464c52Smaya    <field name="Num Entries [1]" start="72" end="79" type="uint"/>
23849f464c52Smaya    <field name="Num Entries [2]" start="80" end="87" type="uint"/>
23859f464c52Smaya    <field name="Num Entries [3]" start="88" end="95" type="uint"/>
238601e04c3fSmrg    <group count="0" start="96" size="64">
238701e04c3fSmrg      <field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
238801e04c3fSmrg    </group>
238901e04c3fSmrg  </instruction>
239001e04c3fSmrg
23919f464c52Smaya  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5" engine="render">
239201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
23939f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
23949f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
23959f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
23969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
239701e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
23989f464c52Smaya    <field name="MOCS" start="54" end="60" type="uint"/>
23999f464c52Smaya    <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
240001e04c3fSmrg    <field name="Surface Base Address" start="64" end="127" type="address"/>
240101e04c3fSmrg    <field name="Surface QPitch" start="128" end="142" type="uint"/>
240201e04c3fSmrg  </instruction>
240301e04c3fSmrg
24049f464c52Smaya  <instruction name="3DSTATE_STREAMOUT" bias="2" length="5" engine="render">
240501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
24069f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
24079f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
24089f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
24099f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
241001e04c3fSmrg    <field name="Force Rendering" start="55" end="56" type="uint">
241101e04c3fSmrg      <value name="Resreved" value="1"/>
241201e04c3fSmrg      <value name="Force_Off" value="2"/>
241301e04c3fSmrg      <value name="Force_on" value="3"/>
241401e04c3fSmrg    </field>
24159f464c52Smaya    <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
24169f464c52Smaya    <field name="Reorder Mode" start="58" end="58" type="uint">
24179f464c52Smaya      <value name="LEADING" value="0"/>
24189f464c52Smaya      <value name="TRAILING" value="1"/>
24199f464c52Smaya    </field>
24209f464c52Smaya    <field name="Render Stream Select" start="59" end="60" type="uint"/>
24219f464c52Smaya    <field name="Rendering Disable" start="62" end="62" type="bool"/>
24229f464c52Smaya    <field name="SO Function Enable" start="63" end="63" type="bool"/>
242301e04c3fSmrg    <field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
24249f464c52Smaya    <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
24259f464c52Smaya    <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
24269f464c52Smaya    <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
24279f464c52Smaya    <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
24289f464c52Smaya    <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
24299f464c52Smaya    <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
24309f464c52Smaya    <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
24319f464c52Smaya    <field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
24329f464c52Smaya    <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
24339f464c52Smaya    <field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
24349f464c52Smaya    <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
24359f464c52Smaya  </instruction>
24369f464c52Smaya
24379f464c52Smaya  <instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
243801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
24399f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
24409f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
24419f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
24429f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
24439f464c52Smaya    <field name="TE Enable" start="32" end="32" type="bool"/>
24449f464c52Smaya    <field name="TE Mode" start="33" end="34" type="uint">
24459f464c52Smaya      <value name="HW_TESS" value="0"/>
24469f464c52Smaya    </field>
24479f464c52Smaya    <field name="TE Domain" start="36" end="37" type="uint">
24489f464c52Smaya      <value name="QUAD" value="0"/>
24499f464c52Smaya      <value name="TRI" value="1"/>
24509f464c52Smaya      <value name="ISOLINE" value="2"/>
245101e04c3fSmrg    </field>
245201e04c3fSmrg    <field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
245301e04c3fSmrg      <value name="POINT" value="0"/>
245401e04c3fSmrg      <value name="LINE" value="1"/>
245501e04c3fSmrg      <value name="TRI_CW" value="2"/>
245601e04c3fSmrg      <value name="TRI_CCW" value="3"/>
245701e04c3fSmrg    </field>
24589f464c52Smaya    <field name="Partitioning" start="44" end="45" type="uint">
24599f464c52Smaya      <value name="INTEGER" value="0"/>
24609f464c52Smaya      <value name="ODD_FRACTIONAL" value="1"/>
24619f464c52Smaya      <value name="EVEN_FRACTIONAL" value="2"/>
246201e04c3fSmrg    </field>
246301e04c3fSmrg    <field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
246401e04c3fSmrg    <field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
246501e04c3fSmrg  </instruction>
246601e04c3fSmrg
24679f464c52Smaya  <instruction name="3DSTATE_URB_CLEAR" bias="2" length="2" engine="render">
246801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
24699f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
24709f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
24719f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
24729f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
247301e04c3fSmrg    <field name="URB Address" start="32" end="46" type="offset"/>
24749f464c52Smaya    <field name="URB Clear Length" start="48" end="61" type="uint"/>
247501e04c3fSmrg  </instruction>
247601e04c3fSmrg
24779f464c52Smaya  <instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
247801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
24799f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
24809f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
24819f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
24829f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
248301e04c3fSmrg    <field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
24849f464c52Smaya    <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
24859f464c52Smaya    <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
248601e04c3fSmrg  </instruction>
248701e04c3fSmrg
24889f464c52Smaya  <instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
248901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
24909f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
24919f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
24929f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
24939f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
249401e04c3fSmrg    <field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
24959f464c52Smaya    <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
24969f464c52Smaya    <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
249701e04c3fSmrg  </instruction>
249801e04c3fSmrg
24999f464c52Smaya  <instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
250001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
25019f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
25029f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25039f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
25049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
250501e04c3fSmrg    <field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
25069f464c52Smaya    <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
25079f464c52Smaya    <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
250801e04c3fSmrg  </instruction>
250901e04c3fSmrg
25109f464c52Smaya  <instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
251101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
25129f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
25139f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25149f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
25159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
251601e04c3fSmrg    <field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
25179f464c52Smaya    <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
25189f464c52Smaya    <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
251901e04c3fSmrg  </instruction>
252001e04c3fSmrg
25219f464c52Smaya  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
252201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
25239f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
25249f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25259f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
25269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
252701e04c3fSmrg    <group count="0" start="32" size="128">
252801e04c3fSmrg      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
252901e04c3fSmrg    </group>
253001e04c3fSmrg  </instruction>
253101e04c3fSmrg
25329f464c52Smaya  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
253301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
25349f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
25359f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25369f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
25379f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
253801e04c3fSmrg    <group count="0" start="32" size="64">
253901e04c3fSmrg      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
254001e04c3fSmrg    </group>
254101e04c3fSmrg  </instruction>
254201e04c3fSmrg
25439f464c52Smaya  <instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
254401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
25459f464c52Smaya    <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
25469f464c52Smaya    <field name="Component Packing Enable" start="9" end="9" type="bool"/>
25479f464c52Smaya    <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
25489f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
25499f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25509f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
25519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
255201e04c3fSmrg    <field name="Cut Index" start="32" end="63" type="uint"/>
255301e04c3fSmrg  </instruction>
255401e04c3fSmrg
25559f464c52Smaya  <instruction name="3DSTATE_VF_COMPONENT_PACKING" bias="2" length="5" engine="render">
255601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
25579f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
25589f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25599f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
25609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
256101e04c3fSmrg    <field name="Vertex Element 00 Enables" start="32" end="35" type="uint"/>
25629f464c52Smaya    <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
25639f464c52Smaya    <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
25649f464c52Smaya    <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
25659f464c52Smaya    <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
25669f464c52Smaya    <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
25679f464c52Smaya    <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
25689f464c52Smaya    <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
256901e04c3fSmrg    <field name="Vertex Element 08 Enables" start="64" end="67" type="uint"/>
25709f464c52Smaya    <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
25719f464c52Smaya    <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
25729f464c52Smaya    <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
25739f464c52Smaya    <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
25749f464c52Smaya    <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
25759f464c52Smaya    <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
25769f464c52Smaya    <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
257701e04c3fSmrg    <field name="Vertex Element 16 Enables" start="96" end="99" type="uint"/>
25789f464c52Smaya    <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
25799f464c52Smaya    <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
25809f464c52Smaya    <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
25819f464c52Smaya    <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
25829f464c52Smaya    <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
25839f464c52Smaya    <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
25849f464c52Smaya    <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
258501e04c3fSmrg    <field name="Vertex Element 24 Enables" start="128" end="131" type="uint"/>
25869f464c52Smaya    <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
25879f464c52Smaya    <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
25889f464c52Smaya    <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
25899f464c52Smaya    <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
25909f464c52Smaya    <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
25919f464c52Smaya    <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
25929f464c52Smaya    <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
259301e04c3fSmrg  </instruction>
259401e04c3fSmrg
25959f464c52Smaya  <instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3" engine="render">
259601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
25979f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
25989f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
25999f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
260101e04c3fSmrg    <field name="Vertex Element Index" start="32" end="37" type="uint"/>
26029f464c52Smaya    <field name="Instancing Enable" start="40" end="40" type="bool"/>
260301e04c3fSmrg    <field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
260401e04c3fSmrg  </instruction>
260501e04c3fSmrg
26069f464c52Smaya  <instruction name="3DSTATE_VF_SGVS" bias="2" length="2" engine="render">
260701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
26089f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
26099f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
26109f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
26129f464c52Smaya    <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
26139f464c52Smaya    <field name="VertexID Component Number" start="45" end="46" type="uint">
261401e04c3fSmrg      <value name="COMP_0" value="0"/>
261501e04c3fSmrg      <value name="COMP_1" value="1"/>
261601e04c3fSmrg      <value name="COMP_2" value="2"/>
261701e04c3fSmrg      <value name="COMP_3" value="3"/>
261801e04c3fSmrg    </field>
261901e04c3fSmrg    <field name="VertexID Enable" start="47" end="47" type="bool"/>
26209f464c52Smaya    <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
26219f464c52Smaya    <field name="InstanceID Component Number" start="61" end="62" type="uint">
262201e04c3fSmrg      <value name="COMP_0" value="0"/>
262301e04c3fSmrg      <value name="COMP_1" value="1"/>
262401e04c3fSmrg      <value name="COMP_2" value="2"/>
262501e04c3fSmrg      <value name="COMP_3" value="3"/>
262601e04c3fSmrg    </field>
26279f464c52Smaya    <field name="InstanceID Enable" start="63" end="63" type="bool"/>
262801e04c3fSmrg  </instruction>
262901e04c3fSmrg
26309f464c52Smaya  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
263101e04c3fSmrg    <field name="Statistics Enable" start="0" end="0" type="bool"/>
26329f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
26339f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
26349f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
26359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
263601e04c3fSmrg  </instruction>
263701e04c3fSmrg
26389f464c52Smaya  <instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2" engine="render">
263901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
26409f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
26419f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
26429f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
264401e04c3fSmrg    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
264501e04c3fSmrg  </instruction>
264601e04c3fSmrg
26479f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
264801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
26499f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
26509f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
26519f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
265301e04c3fSmrg    <field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
265401e04c3fSmrg  </instruction>
265501e04c3fSmrg
26569f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
265701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
26589f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
26599f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
26609f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
266201e04c3fSmrg    <field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
266301e04c3fSmrg  </instruction>
266401e04c3fSmrg
26659f464c52Smaya  <instruction name="3DSTATE_VS" bias="2" length="9" engine="render">
266601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
26679f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
26689f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
26699f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
267101e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
26729f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
26739f464c52Smaya    <field name="Accesses UAV" start="108" end="108" type="bool"/>
26749f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
26759f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
26769f464c52Smaya      <value name="IEEE-754" value="0"/>
26779f464c52Smaya      <value name="Alternate" value="1"/>
26789f464c52Smaya    </field>
26799f464c52Smaya    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
26809f464c52Smaya      <value name="High" value="1"/>
26819f464c52Smaya    </field>
26829f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
268301e04c3fSmrg    <field name="Sampler Count" start="123" end="125" type="uint">
268401e04c3fSmrg      <value name="No Samplers" value="0"/>
268501e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
268601e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
268701e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
268801e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
268901e04c3fSmrg    </field>
26909f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
26919f464c52Smaya    <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
269201e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
26939f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
269401e04c3fSmrg    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
26959f464c52Smaya    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
26969f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
269701e04c3fSmrg    <field name="Enable" start="224" end="224" type="bool"/>
26989f464c52Smaya    <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
26999f464c52Smaya    <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
27009f464c52Smaya    <field name="Statistics Enable" start="234" end="234" type="bool"/>
27019f464c52Smaya    <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
270201e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
27039f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
27049f464c52Smaya    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
27059f464c52Smaya    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
270601e04c3fSmrg  </instruction>
270701e04c3fSmrg
27089f464c52Smaya  <instruction name="3DSTATE_WM" bias="2" length="2" engine="render">
270901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
27109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
27119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
27129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
27139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27149f464c52Smaya    <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
271501e04c3fSmrg      <value name="ForceOff" value="1"/>
271601e04c3fSmrg      <value name="ForceON" value="2"/>
271701e04c3fSmrg    </field>
27189f464c52Smaya    <field name="Point Rasterization Rule" start="34" end="34" type="uint">
27199f464c52Smaya      <value name="RASTRULE_UPPER_LEFT" value="0"/>
27209f464c52Smaya      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
272101e04c3fSmrg    </field>
27229f464c52Smaya    <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
27239f464c52Smaya    <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
27249f464c52Smaya    <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
272501e04c3fSmrg      <value name="0.5 pixels" value="0"/>
272601e04c3fSmrg      <value name="1.0 pixels" value="1"/>
272701e04c3fSmrg      <value name="2.0 pixels" value="2"/>
272801e04c3fSmrg      <value name="4.0 pixels" value="3"/>
272901e04c3fSmrg    </field>
27309f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
273101e04c3fSmrg      <value name="0.5 pixels" value="0"/>
273201e04c3fSmrg      <value name="1.0 pixels" value="1"/>
273301e04c3fSmrg      <value name="2.0 pixels" value="2"/>
273401e04c3fSmrg      <value name="4.0 pixels" value="3"/>
273501e04c3fSmrg    </field>
27369f464c52Smaya    <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
27379f464c52Smaya      <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
27389f464c52Smaya      <value name="BIM_PERSPECTIVE_CENTROID" value="2"/>
27399f464c52Smaya      <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
27409f464c52Smaya      <value name="BIM_LINEAR_PIXEL" value="8"/>
27419f464c52Smaya      <value name="BIM_LINEAR_CENTROID" value="16"/>
27429f464c52Smaya      <value name="BIM_LINEAR_SAMPLE" value="32"/>
274301e04c3fSmrg    </field>
27449f464c52Smaya    <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
27459f464c52Smaya      <value name="INTERP_PIXEL" value="0"/>
27469f464c52Smaya      <value name="INTERP_CENTROID" value="2"/>
27479f464c52Smaya      <value name="INTERP_SAMPLE" value="3"/>
27489f464c52Smaya    </field>
27499f464c52Smaya    <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
275001e04c3fSmrg      <value name="ForceOff" value="1"/>
275101e04c3fSmrg      <value name="ForceON" value="2"/>
275201e04c3fSmrg    </field>
27539f464c52Smaya    <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
27549f464c52Smaya      <value name="EDSC_NORMAL" value="0"/>
27559f464c52Smaya      <value name="EDSC_PSEXEC" value="1"/>
27569f464c52Smaya      <value name="EDSC_PREPS" value="2"/>
27579f464c52Smaya    </field>
27589f464c52Smaya    <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
27599f464c52Smaya    <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
27609f464c52Smaya    <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
27619f464c52Smaya    <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
27629f464c52Smaya    <field name="Statistics Enable" start="63" end="63" type="bool"/>
276301e04c3fSmrg  </instruction>
276401e04c3fSmrg
27659f464c52Smaya  <instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2" engine="render">
276601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
27679f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
27689f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
27699f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
27709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
277101e04c3fSmrg    <field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
277201e04c3fSmrg  </instruction>
277301e04c3fSmrg
27749f464c52Smaya  <instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="4" engine="render">
277501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
27769f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
27779f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
27789f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
27799f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
278001e04c3fSmrg    <field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
27819f464c52Smaya    <field name="Depth Test Enable" start="33" end="33" type="bool"/>
27829f464c52Smaya    <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
27839f464c52Smaya    <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
27849f464c52Smaya    <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
27859f464c52Smaya    <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
27869f464c52Smaya    <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
27879f464c52Smaya    <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
27889f464c52Smaya    <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
27899f464c52Smaya    <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
27909f464c52Smaya    <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
27919f464c52Smaya    <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
27929f464c52Smaya    <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
27939f464c52Smaya    <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
279401e04c3fSmrg    <field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
27959f464c52Smaya    <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
27969f464c52Smaya    <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
27979f464c52Smaya    <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
279801e04c3fSmrg    <field name="Backface Stencil Reference Value" start="96" end="103" type="uint"/>
27999f464c52Smaya    <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
280001e04c3fSmrg  </instruction>
280101e04c3fSmrg
28029f464c52Smaya  <instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5" engine="render">
280301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
28049f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
28059f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
28069f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
28079f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
280801e04c3fSmrg    <field name="Number of Multisamples" start="45" end="47" type="uint"/>
28099f464c52Smaya    <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
28109f464c52Smaya    <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
28119f464c52Smaya    <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
28129f464c52Smaya    <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
28139f464c52Smaya    <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
28149f464c52Smaya    <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
28159f464c52Smaya    <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
28169f464c52Smaya    <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
281701e04c3fSmrg    <field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
28189f464c52Smaya    <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
281901e04c3fSmrg    <field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
28209f464c52Smaya    <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
282101e04c3fSmrg    <field name="Sample Mask" start="128" end="143" type="uint"/>
282201e04c3fSmrg  </instruction>
282301e04c3fSmrg
28249f464c52Smaya  <instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="3" engine="render">
282501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
28269f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
28279f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
28289f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
28299f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
283001e04c3fSmrg    <field name="GPGPU CSR Base Address" start="44" end="95" type="address"/>
283101e04c3fSmrg  </instruction>
283201e04c3fSmrg
28339f464c52Smaya  <instruction name="GPGPU_WALKER" bias="2" length="15" engine="render">
283401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="13"/>
28359f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
28369f464c52Smaya    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
28379f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
28389f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
28399f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
284101e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
284201e04c3fSmrg    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
284301e04c3fSmrg    <field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
28449f464c52Smaya    <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
28459f464c52Smaya    <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
28469f464c52Smaya    <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
284701e04c3fSmrg    <field name="SIMD Size" start="158" end="159" type="uint">
284801e04c3fSmrg      <value name="SIMD8" value="0"/>
284901e04c3fSmrg      <value name="SIMD16" value="1"/>
285001e04c3fSmrg      <value name="SIMD32" value="2"/>
285101e04c3fSmrg    </field>
285201e04c3fSmrg    <field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
285301e04c3fSmrg    <field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
285401e04c3fSmrg    <field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
285501e04c3fSmrg    <field name="Thread Group ID Y Dimension" start="320" end="351" type="uint"/>
285601e04c3fSmrg    <field name="Thread Group ID Starting/Resume Z" start="352" end="383" type="uint"/>
285701e04c3fSmrg    <field name="Thread Group ID Z Dimension" start="384" end="415" type="uint"/>
285801e04c3fSmrg    <field name="Right Execution Mask" start="416" end="447" type="uint"/>
285901e04c3fSmrg    <field name="Bottom Execution Mask" start="448" end="479" type="uint"/>
286001e04c3fSmrg  </instruction>
286101e04c3fSmrg
28629f464c52Smaya  <instruction name="HCP_BSD_OBJECT" bias="2" length="3" engine="video">
28639f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
28649f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
28659f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
28669f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
286701e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28689f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
28699f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
28709f464c52Smaya  </instruction>
28719f464c52Smaya
28729f464c52Smaya  <instruction name="HCP_FQM_STATE" bias="2" length="34" engine="video">
28739f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
28749f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
28759f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
287601e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28789f464c52Smaya    <field name="Intra/Inter" start="32" end="32" type="uint">
28799f464c52Smaya      <value name="Intra" value="0"/>
28809f464c52Smaya      <value name="Inter" value="1"/>
28819f464c52Smaya    </field>
28829f464c52Smaya    <field name="SizeID" start="33" end="34" type="uint">
28839f464c52Smaya      <value name="4x4" value="0"/>
28849f464c52Smaya      <value name="8x8" value="1"/>
28859f464c52Smaya      <value name="16x16" value="2"/>
28869f464c52Smaya      <value name="32x32" value="3"/>
28879f464c52Smaya    </field>
28889f464c52Smaya    <field name="Color Component" start="35" end="36" type="uint">
28899f464c52Smaya      <value name="Luma" value="0"/>
28909f464c52Smaya      <value name="Chroma Cb" value="1"/>
28919f464c52Smaya      <value name="Chroma Cr" value="2"/>
28929f464c52Smaya    </field>
28939f464c52Smaya    <field name="FQM DC Value" start="48" end="63" type="uint"/>
28949f464c52Smaya    <group count="64" start="64" size="8">
28959f464c52Smaya      <field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
28969f464c52Smaya    </group>
289701e04c3fSmrg  </instruction>
289801e04c3fSmrg
28999f464c52Smaya  <instruction name="HCP_IND_OBJ_BASE_ADDR_STATE" bias="2" length="14" engine="video">
29009f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
29019f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
29029f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
29039f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
290401e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29059f464c52Smaya    <field name="HCP Indirect Bitstream Object - Base Address" start="32" end="95" type="address"/>
29069f464c52Smaya    <field name="HCP Indirect Bitstream Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
29079f464c52Smaya    <field name="HCP Indirect Bitstream Object - Access Upper Bound" start="128" end="191" type="address"/>
29089f464c52Smaya    <field name="HCP Indirect CU Object - Base Address" start="192" end="255" type="address"/>
29099f464c52Smaya    <field name="HCP Indirect CU Object - Memory Address Attributes" start="256" end="287" type="MEMORYADDRESSATTRIBUTES"/>
29109f464c52Smaya    <field name="HCP PAK-BSE Object - Base Address" start="288" end="351" type="address"/>
29119f464c52Smaya    <field name="HCP PAK-BSE Object - Memory Address Attributes" start="352" end="383" type="MEMORYADDRESSATTRIBUTES"/>
29129f464c52Smaya    <field name="HCP PAK-BSE Object - Access Upper Bound" start="384" end="447" type="address"/>
29139f464c52Smaya  </instruction>
29149f464c52Smaya
29159f464c52Smaya  <instruction name="HCP_PAK_INSERT_OBJECT" bias="2" engine="video">
29169f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
29179f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
29189f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
291901e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
29209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29219f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
29229f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
29239f464c52Smaya    <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
29249f464c52Smaya    <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
29259f464c52Smaya    <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
29269f464c52Smaya    <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
29279f464c52Smaya      <value name="ACCUMULATE" value="0"/>
29289f464c52Smaya      <value name="NO_ACCUMULATION" value="1"/>
29299f464c52Smaya    </field>
29309f464c52Smaya    <field name="Data Byte Offset" start="48" end="49" type="uint"/>
29319f464c52Smaya    <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
29329f464c52Smaya    <group count="0" start="64" size="128">
29339f464c52Smaya      <field name="Indirect Payload" start="0" end="127" type="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD"/>
29349f464c52Smaya      <field name="Inline PayLoad" start="0" end="31" type="uint"/>
29359f464c52Smaya    </group>
293601e04c3fSmrg  </instruction>
293701e04c3fSmrg
29389f464c52Smaya  <instruction name="HCP_PAK_OBJECT" bias="2" length="2" engine="video">
29399f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
29409f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
29419f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
29429f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
294301e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29449f464c52Smaya    <field name="Split Level 2 Part 0" start="32" end="35" type="uint"/>
29459f464c52Smaya    <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
29469f464c52Smaya    <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
29479f464c52Smaya    <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
29489f464c52Smaya    <field name="Split Level 1" start="48" end="51" type="uint"/>
29499f464c52Smaya    <field name="Split Level 0" start="52" end="52" type="uint"/>
29509f464c52Smaya    <field name="CU Count" start="56" end="61" type="uint"/>
29519f464c52Smaya    <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
29529f464c52Smaya    <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
29539f464c52Smaya    <field name="Current LCU X Address" start="64" end="79" type="uint"/>
29549f464c52Smaya    <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
29559f464c52Smaya  </instruction>
29569f464c52Smaya
29579f464c52Smaya  <instruction name="HCP_PIC_STATE" bias="2" length="2" engine="video">
29589f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
29599f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
29609f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
29619f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
29629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29639f464c52Smaya    <field name="Frame Width In Minimum Coding Block Size" start="32" end="41" type="uint"/>
29649f464c52Smaya    <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
29659f464c52Smaya    <field name="Frame Height In Minimum Coding Block Size" start="48" end="57" type="uint"/>
29669f464c52Smaya    <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
29679f464c52Smaya      <value name="64x64" value="3"/>
29689f464c52Smaya      <value name="32x32" value="2"/>
29699f464c52Smaya      <value name="16x16" value="1"/>
29709f464c52Smaya      <value name="8x8" value="0"/>
29719f464c52Smaya    </field>
29729f464c52Smaya    <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
29739f464c52Smaya      <value name="64x64" value="3"/>
29749f464c52Smaya      <value name="32x32" value="2"/>
29759f464c52Smaya      <value name="16x16" value="1"/>
29769f464c52Smaya      <value name="Illegal/reserved" value="0"/>
29779f464c52Smaya    </field>
29789f464c52Smaya    <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
29799f464c52Smaya      <value name="32x32" value="3"/>
29809f464c52Smaya      <value name="16x16" value="2"/>
29819f464c52Smaya      <value name="8x8" value="1"/>
29829f464c52Smaya      <value name="4x4" value="0"/>
29839f464c52Smaya    </field>
29849f464c52Smaya    <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
29859f464c52Smaya      <value name="32x32" value="3"/>
29869f464c52Smaya      <value name="16x16" value="2"/>
29879f464c52Smaya      <value name="8x8" value="1"/>
29889f464c52Smaya      <value name="4x4" value="0"/>
29899f464c52Smaya    </field>
29909f464c52Smaya    <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
29919f464c52Smaya      <value name="32x32" value="2"/>
29929f464c52Smaya      <value name="16x16" value="1"/>
29939f464c52Smaya      <value name="8x8" value="0"/>
29949f464c52Smaya    </field>
29959f464c52Smaya    <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
29969f464c52Smaya      <value name="32x32" value="2"/>
29979f464c52Smaya      <value name="16x16" value="1"/>
29989f464c52Smaya      <value name="8x8" value="0"/>
29999f464c52Smaya    </field>
30009f464c52Smaya    <field name="Collocated Picture Is I Slice" start="96" end="96" type="bool"/>
30019f464c52Smaya    <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
30029f464c52Smaya    <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
30039f464c52Smaya    <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
30049f464c52Smaya    <field name="PCM Enable" start="132" end="132" type="bool"/>
30059f464c52Smaya    <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
30069f464c52Smaya    <field name="Max DQP Depth" start="134" end="135" type="uint"/>
30079f464c52Smaya    <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
30089f464c52Smaya    <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
30099f464c52Smaya    <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
30109f464c52Smaya    <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
30119f464c52Smaya    <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
30129f464c52Smaya    <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
30139f464c52Smaya    <field name="Tiling Enable" start="145" end="145" type="bool"/>
30149f464c52Smaya    <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
30159f464c52Smaya    <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
30169f464c52Smaya    <field name="Field Pic" start="148" end="148" type="bool"/>
30179f464c52Smaya    <field name="Top Field" start="149" end="149" type="bool"/>
30189f464c52Smaya    <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
30199f464c52Smaya    <field name="AMP Enable" start="151" end="151" type="bool"/>
30209f464c52Smaya    <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
30219f464c52Smaya    <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
30229f464c52Smaya    <field name="CU Packet Structure" start="155" end="155" type="uint">
30239f464c52Smaya      <value name="VME" value="0"/>
30249f464c52Smaya      <value name="ExtEnc" value="1"/>
30259f464c52Smaya    </field>
30269f464c52Smaya    <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
30279f464c52Smaya    <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
30289f464c52Smaya    <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
30299f464c52Smaya    <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
30309f464c52Smaya    <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
30319f464c52Smaya    <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
30329f464c52Smaya    <field name="Chroma Bit Depth" start="184" end="186" type="uint">
30339f464c52Smaya      <value name="8-bit" value="0"/>
30349f464c52Smaya      <value name="9-bit" value="1"/>
30359f464c52Smaya      <value name="10-bit" value="2"/>
30369f464c52Smaya      <value name="11-bit" value="3"/>
30379f464c52Smaya      <value name="12-bit" value="4"/>
30389f464c52Smaya    </field>
30399f464c52Smaya    <field name="Luma Bit Depth" start="187" end="189" type="uint">
30409f464c52Smaya      <value name="8-bit" value="0"/>
30419f464c52Smaya      <value name="9-bit" value="1"/>
30429f464c52Smaya      <value name="10-bit" value="2"/>
30439f464c52Smaya      <value name="11-bit" value="3"/>
30449f464c52Smaya      <value name="12-bit" value="4"/>
30459f464c52Smaya    </field>
30469f464c52Smaya    <field name="LCU Max Bit Size Allowed" start="192" end="207" type="uint"/>
30479f464c52Smaya    <field name="Non First Pass" start="208" end="208" type="bool"/>
30489f464c52Smaya    <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
30499f464c52Smaya    <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
30509f464c52Smaya    <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
30519f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
30529f464c52Smaya    <field name="Frame Bitrate Max" start="224" end="237" type="uint"/>
30539f464c52Smaya    <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
30549f464c52Smaya    <field name="Frame Bitrate Min" start="256" end="269" type="uint"/>
30559f464c52Smaya    <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
30569f464c52Smaya    <field name="Frame Bitrate Min Delta" start="288" end="302" type="uint"/>
30579f464c52Smaya    <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
30589f464c52Smaya    <field name="Frame Delta QP Max" start="320" end="383" type="FRAMEDELTAQP"/>
30599f464c52Smaya    <field name="Frame Delta QP Min" start="384" end="447" type="FRAMEDELTAQP"/>
30609f464c52Smaya    <field name="Frame Delta QP Max Range" start="448" end="511" type="FRAMEDELTAQPRANGE"/>
30619f464c52Smaya    <field name="Frame Delta QP Min Range" start="512" end="575" type="FRAMEDELTAQPRANGE"/>
30629f464c52Smaya    <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
30639f464c52Smaya    <field name="Minimum Frame Size Units" start="606" end="607" type="uint" prefix="HCP_MFSU">
30649f464c52Smaya      <value name="4Kb" value="0"/>
30659f464c52Smaya      <value name="16Kb" value="1"/>
30669f464c52Smaya    </field>
30679f464c52Smaya  </instruction>
30689f464c52Smaya
30699f464c52Smaya  <instruction name="HCP_PIPE_BUF_ADDR_STATE" bias="2" length="95" engine="video">
30709f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
30719f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
30729f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
30739f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
30749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
30759f464c52Smaya    <field name="Decoded Picture - Address" start="32" end="95" type="address"/>
30769f464c52Smaya    <field name="Decoded Picture - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
30779f464c52Smaya    <field name="Deblocking Filter Line Buffer - Address" start="128" end="191" type="address"/>
30789f464c52Smaya    <field name="Deblocking Filter Line Buffer - Memory Address Attributes" start="192" end="223" type="MEMORYADDRESSATTRIBUTES"/>
30799f464c52Smaya    <field name="Deblocking Filter Tile Line Buffer - Address" start="224" end="287" type="address"/>
30809f464c52Smaya    <field name="Deblocking Filter Tile Line Buffer - Memory Address Attributes" start="288" end="319" type="MEMORYADDRESSATTRIBUTES"/>
30819f464c52Smaya    <field name="Deblocking Filter Tile Column Buffer - Address" start="320" end="383" type="address"/>
30829f464c52Smaya    <field name="Deblocking Filter Tile Column Buffer - Memory Address Attributes" start="384" end="415" type="MEMORYADDRESSATTRIBUTES"/>
30839f464c52Smaya    <field name="Metadata Line Buffer - Address" start="416" end="479" type="address"/>
30849f464c52Smaya    <field name="Metadata Line Buffer - Memory Address Attributes" start="480" end="511" type="MEMORYADDRESSATTRIBUTES"/>
30859f464c52Smaya    <field name="Metadata Tile Line Buffer - Address" start="512" end="575" type="address"/>
30869f464c52Smaya    <field name="Metadata Tile Line Buffer - Memory Address Attributes" start="576" end="607" type="MEMORYADDRESSATTRIBUTES"/>
30879f464c52Smaya    <field name="Metadata Tile Column Buffer - Address" start="608" end="671" type="address"/>
30889f464c52Smaya    <field name="Metadata Tile Column Buffer - Memory Address Attributes" start="672" end="703" type="MEMORYADDRESSATTRIBUTES"/>
30899f464c52Smaya    <field name="SAO Line Buffer - Address" start="704" end="767" type="address"/>
30909f464c52Smaya    <field name="SAO Line Buffer - Memory Address Attributes" start="768" end="799" type="MEMORYADDRESSATTRIBUTES"/>
30919f464c52Smaya    <field name="SAO Tile Line Buffer - Address" start="800" end="863" type="address"/>
30929f464c52Smaya    <field name="SAO Tile Line Buffer - Memory Address Attributes" start="864" end="895" type="MEMORYADDRESSATTRIBUTES"/>
30939f464c52Smaya    <field name="SAO Tile Column Buffer - Address" start="896" end="959" type="address"/>
30949f464c52Smaya    <field name="SAO Tile Column Buffer - Memory Address Attributes" start="960" end="991" type="MEMORYADDRESSATTRIBUTES"/>
30959f464c52Smaya    <field name="Current MV Temporal Buffer - Address" start="992" end="1055" type="address"/>
30969f464c52Smaya    <field name="Current MV Temporal Buffer - Memory Address Attributes" start="1056" end="1087" type="MEMORYADDRESSATTRIBUTES"/>
30979f464c52Smaya    <group count="8" start="1184" size="64">
30989f464c52Smaya      <field name="Reference Picture - Address" start="0" end="63" type="address"/>
30999f464c52Smaya    </group>
31009f464c52Smaya    <field name="Reference Picture - Memory Address Attributes" start="1696" end="1727" type="MEMORYADDRESSATTRIBUTES"/>
31019f464c52Smaya    <field name="Original Uncompressed Picture Source - Address" start="1728" end="1791" type="address"/>
31029f464c52Smaya    <field name="Original Uncompressed Picture Source - Memory Address Attributes" start="1792" end="1823" type="MEMORYADDRESSATTRIBUTES"/>
31039f464c52Smaya    <field name="Stream-Out Data Destination - Address" start="1824" end="1887" type="address"/>
31049f464c52Smaya    <field name="Stream-Out Data Destination - Memory Address Attributes" start="1888" end="1919" type="MEMORYADDRESSATTRIBUTES"/>
31059f464c52Smaya    <field name="Decoded Picture Status Buffer - Address" start="1920" end="1983" type="address"/>
31069f464c52Smaya    <field name="Decoded Picture Status Buffer - Memory Address Attributes" start="1984" end="2015" type="MEMORYADDRESSATTRIBUTES"/>
31079f464c52Smaya    <field name="LCU ILDB Stream-Out Buffer - Address" start="2016" end="2079" type="address"/>
31089f464c52Smaya    <field name="LCU ILDB Stream-Out Buffer - Memory Address Attributes" start="2080" end="2111" type="MEMORYADDRESSATTRIBUTES"/>
31099f464c52Smaya    <group count="8" start="2112" size="64">
31109f464c52Smaya      <field name="Collocated MV Temporal Buffer - Address" start="0" end="63" type="address"/>
31119f464c52Smaya    </group>
31129f464c52Smaya    <field name="Collocated MV Temporal Buffer - Memory Address Attributes" start="2624" end="2655" type="MEMORYADDRESSATTRIBUTES"/>
31139f464c52Smaya    <field name="VP9 Probability Buffer - Address" start="2656" end="2719" type="address"/>
31149f464c52Smaya    <field name="VP9 Probability Buffer - Memory Address Attributes" start="2720" end="2751" type="MEMORYADDRESSATTRIBUTES"/>
31159f464c52Smaya    <field name="VP9 Segment ID Buffer - Address" start="2752" end="2815" type="uint"/>
31169f464c52Smaya    <field name="VP9 Segment ID Buffer - Memory Address Attributes" start="2816" end="2847" type="MEMORYADDRESSATTRIBUTES"/>
31179f464c52Smaya    <field name="VP9 HVD Line Rowstore Buffer - Address" start="2848" end="2911" type="address"/>
31189f464c52Smaya    <field name="VP9 HVD Line Rowstore Buffer - Memory Address Attributes" start="2912" end="2943" type="MEMORYADDRESSATTRIBUTES"/>
31199f464c52Smaya    <field name="VP9 HVD Tile Rowstore Buffer - Address" start="2944" end="3007" type="address"/>
31209f464c52Smaya    <field name="VP9 HVD Tile Rowstore Buffer - Memory Address Attributes" start="3008" end="3039" type="MEMORYADDRESSATTRIBUTES"/>
31219f464c52Smaya  </instruction>
31229f464c52Smaya
31239f464c52Smaya  <instruction name="HCP_PIPE_MODE_SELECT" bias="2" length="4" engine="video">
31249f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
31259f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
31269f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
31279f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31299f464c52Smaya    <field name="Codec Select" start="32" end="32" type="uint">
31309f464c52Smaya      <value name="Decode" value="0"/>
31319f464c52Smaya      <value name="Encode" value="1"/>
31329f464c52Smaya    </field>
31339f464c52Smaya    <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
31349f464c52Smaya    <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
31359f464c52Smaya    <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
31369f464c52Smaya    <field name="Codec Standard Select" start="37" end="39" type="uint">
31379f464c52Smaya      <value name="HEVC" value="0"/>
31389f464c52Smaya      <value name="VP9" value="1"/>
31399f464c52Smaya    </field>
31409f464c52Smaya    <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
31419f464c52Smaya    <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
31429f464c52Smaya    <field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
31439f464c52Smaya    <field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
31449f464c52Smaya  </instruction>
31459f464c52Smaya
31469f464c52Smaya  <instruction name="HCP_QM_STATE" bias="2" length="34" engine="video">
31479f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
31489f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
31499f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
31509f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31529f464c52Smaya    <field name="Prediction Type" start="32" end="32" type="uint">
31539f464c52Smaya      <value name="Intra" value="0"/>
31549f464c52Smaya      <value name="Inter" value="1"/>
31559f464c52Smaya    </field>
31569f464c52Smaya    <field name="SizeID" start="33" end="34" type="uint">
31579f464c52Smaya      <value name="4x4" value="0"/>
31589f464c52Smaya      <value name="8x8" value="1"/>
31599f464c52Smaya      <value name="16x16" value="2"/>
31609f464c52Smaya      <value name="32x32" value="3"/>
31619f464c52Smaya    </field>
31629f464c52Smaya    <field name="Color Component" start="35" end="36" type="uint">
31639f464c52Smaya      <value name="Luma" value="0"/>
31649f464c52Smaya      <value name="Chroma Cb" value="1"/>
31659f464c52Smaya      <value name="Chroma Cr" value="2"/>
31669f464c52Smaya    </field>
31679f464c52Smaya    <field name="DC Coefficient" start="37" end="44" type="uint"/>
31689f464c52Smaya    <group count="64" start="64" size="8">
31699f464c52Smaya      <field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
31709f464c52Smaya    </group>
31719f464c52Smaya  </instruction>
31729f464c52Smaya
31739f464c52Smaya  <instruction name="HCP_REF_IDX_STATE" bias="2" length="18" engine="video">
31749f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
31759f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
31769f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
31779f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31789f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31799f464c52Smaya    <field name="Reference Picture List Select" start="32" end="32" type="uint"/>
31809f464c52Smaya    <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
31819f464c52Smaya    <group count="16" start="64" size="32">
31829f464c52Smaya      <field name="Reference List Entry" start="0" end="31" type="HCP_REF_LIST_ENTRY"/>
31839f464c52Smaya    </group>
31849f464c52Smaya  </instruction>
31859f464c52Smaya
31869f464c52Smaya  <instruction name="HCP_SLICE_STATE" bias="2" length="2" engine="video">
31879f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
31889f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
31899f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
31909f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31929f464c52Smaya    <field name="Slice Horizontal Position" start="32" end="40" type="uint"/>
31939f464c52Smaya    <field name="Slice Vertical Position" start="48" end="56" type="uint"/>
31949f464c52Smaya    <field name="Next Slice Horizontal Position" start="64" end="72" type="uint"/>
31959f464c52Smaya    <field name="Next Slice Vertical Position" start="80" end="88" type="uint"/>
31969f464c52Smaya    <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
31979f464c52Smaya      <value name="B Slice" value="0"/>
31989f464c52Smaya      <value name="P Slice" value="1"/>
31999f464c52Smaya      <value name="I Slice" value="2"/>
32009f464c52Smaya    </field>
32019f464c52Smaya    <field name="Last Slice" start="98" end="98" type="bool"/>
32029f464c52Smaya    <field name="Slice QP Sign" start="99" end="99" type="uint"/>
32039f464c52Smaya    <field name="Dependent Slice" start="100" end="100" type="bool"/>
32049f464c52Smaya    <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
32059f464c52Smaya    <field name="Slice QP" start="102" end="107" type="uint"/>
32069f464c52Smaya    <field name="Slice Cb QP Offset" start="108" end="112" type="int">
32079f464c52Smaya      <value name="-12" value="20"/>
32089f464c52Smaya      <value name="-11" value="21"/>
32099f464c52Smaya      <value name="-10" value="22"/>
32109f464c52Smaya      <value name="-9" value="23"/>
32119f464c52Smaya      <value name="-8" value="24"/>
32129f464c52Smaya      <value name="-7" value="25"/>
32139f464c52Smaya      <value name="-6" value="26"/>
32149f464c52Smaya      <value name="-5" value="27"/>
32159f464c52Smaya      <value name="-4" value="28"/>
32169f464c52Smaya      <value name="-3" value="29"/>
32179f464c52Smaya      <value name="-2" value="30"/>
32189f464c52Smaya      <value name="-1" value="31"/>
32199f464c52Smaya    </field>
32209f464c52Smaya    <field name="Slice Cr QP Offset" start="113" end="117" type="int">
32219f464c52Smaya      <value name="-12" value="20"/>
32229f464c52Smaya      <value name="-11" value="21"/>
32239f464c52Smaya      <value name="-10" value="22"/>
32249f464c52Smaya      <value name="-9" value="23"/>
32259f464c52Smaya      <value name="-8" value="24"/>
32269f464c52Smaya      <value name="-7" value="25"/>
32279f464c52Smaya      <value name="-6" value="26"/>
32289f464c52Smaya      <value name="-5" value="27"/>
32299f464c52Smaya      <value name="-4" value="28"/>
32309f464c52Smaya      <value name="-3" value="29"/>
32319f464c52Smaya      <value name="-2" value="30"/>
32329f464c52Smaya      <value name="-1" value="31"/>
32339f464c52Smaya    </field>
32349f464c52Smaya    <field name="Last Slice of Tile" start="120" end="120" type="bool"/>
32359f464c52Smaya    <field name="Slice Header Disable Deblocking Filter" start="128" end="128" type="bool"/>
32369f464c52Smaya    <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
32379f464c52Smaya    <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
32389f464c52Smaya    <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
32399f464c52Smaya    <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
32409f464c52Smaya    <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
32419f464c52Smaya    <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
32429f464c52Smaya    <field name="Low Delay" start="142" end="142" type="bool"/>
32439f464c52Smaya    <field name="Collocated From L0" start="143" end="143" type="bool"/>
32449f464c52Smaya    <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
32459f464c52Smaya    <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
32469f464c52Smaya    <field name="CABAC Init" start="150" end="150" type="bool"/>
32479f464c52Smaya    <field name="Max Merge Index" start="151" end="153" type="uint"/>
32489f464c52Smaya    <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
32499f464c52Smaya    <field name="Slice Header Length" start="160" end="175" type="uint"/>
32509f464c52Smaya    <field name="Round Intra" start="212" end="215" type="uint">
32519f464c52Smaya      <value name="+1/32" value="0"/>
32529f464c52Smaya      <value name="+2/32" value="1"/>
32539f464c52Smaya      <value name="+3/32" value="2"/>
32549f464c52Smaya      <value name="+4/32" value="3"/>
32559f464c52Smaya      <value name="+5/32" value="4"/>
32569f464c52Smaya      <value name="+6/32" value="5"/>
32579f464c52Smaya      <value name="+7/32" value="6"/>
32589f464c52Smaya      <value name="+8/32" value="7"/>
32599f464c52Smaya      <value name="+9/32" value="8"/>
32609f464c52Smaya      <value name="+10/32" value="9"/>
32619f464c52Smaya      <value name="+11/32" value="10"/>
32629f464c52Smaya      <value name="+12/32" value="11"/>
32639f464c52Smaya      <value name="+13/32" value="12"/>
32649f464c52Smaya      <value name="+14/32" value="13"/>
32659f464c52Smaya      <value name="+15/32" value="14"/>
32669f464c52Smaya      <value name="+16/32" value="15"/>
32679f464c52Smaya    </field>
32689f464c52Smaya    <field name="Round Inter" start="218" end="221" type="uint">
32699f464c52Smaya      <value name="+1/32" value="0"/>
32709f464c52Smaya      <value name="+2/32" value="1"/>
32719f464c52Smaya      <value name="+3/32" value="2"/>
32729f464c52Smaya      <value name="+4/32" value="3"/>
32739f464c52Smaya      <value name="+5/32" value="4"/>
32749f464c52Smaya      <value name="+6/32" value="5"/>
32759f464c52Smaya      <value name="+7/32" value="6"/>
32769f464c52Smaya      <value name="+8/32" value="7"/>
32779f464c52Smaya      <value name="+9/32" value="8"/>
32789f464c52Smaya      <value name="+10/32" value="9"/>
32799f464c52Smaya      <value name="+11/32" value="10"/>
32809f464c52Smaya      <value name="+12/32" value="11"/>
32819f464c52Smaya      <value name="+13/32" value="12"/>
32829f464c52Smaya      <value name="+14/32" value="13"/>
32839f464c52Smaya      <value name="+15/32" value="14"/>
32849f464c52Smaya      <value name="+16/32" value="15"/>
32859f464c52Smaya    </field>
32869f464c52Smaya    <field name="CABAC Zero Word Insertion Enable" start="225" end="225" type="bool"/>
32879f464c52Smaya    <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
32889f464c52Smaya    <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
32899f464c52Smaya    <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
32909f464c52Smaya    <field name="Header Insertion Present" start="234" end="234" type="bool"/>
32919f464c52Smaya    <field name="Indirect PAK-BSE Data Start Offset" start="262" end="284" type="offset"/>
32929f464c52Smaya    <field name="Transform Skip Lambda" start="288" end="303" type="uint"/>
32939f464c52Smaya    <field name="Transform Skip Number of Zero Coeffs Factor0" start="320" end="327" type="uint"/>
32949f464c52Smaya    <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
32959f464c52Smaya    <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
32969f464c52Smaya    <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
32979f464c52Smaya  </instruction>
32989f464c52Smaya
32999f464c52Smaya  <instruction name="HCP_SURFACE_STATE" bias="2" length="3" engine="video">
33009f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
33019f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
33029f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
33039f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
33049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
33059f464c52Smaya    <field name="Surface Pitch" start="32" end="48" type="uint"/>
33069f464c52Smaya    <field name="Surface ID" start="60" end="63" type="uint" prefix="HCP">
33079f464c52Smaya      <value name="Current Decoded Picture" value="0"/>
33089f464c52Smaya      <value name="Source Input Picture" value="1"/>
33099f464c52Smaya      <value name="Prev Reference Picture" value="2"/>
33109f464c52Smaya      <value name="Golden Reference Picture" value="3"/>
33119f464c52Smaya      <value name="AltRef Reference Picture" value="4"/>
331201e04c3fSmrg    </field>
33139f464c52Smaya    <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
33149f464c52Smaya    <field name="Surface Format" start="92" end="95" type="uint">
33159f464c52Smaya      <value name="PLANAR_420_8" value="4"/>
33169f464c52Smaya      <value name="P010" value="13"/>
33179f464c52Smaya    </field>
33189f464c52Smaya  </instruction>
33199f464c52Smaya
33209f464c52Smaya  <instruction name="HCP_TILE_CODING" bias="1" length="1" engine="video">
33219f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
33229f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
33239f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
33249f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
33259f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
33269f464c52Smaya    <field name="SAO Parameter Offset" start="128" end="159" type="uint"/>
33279f464c52Smaya  </instruction>
33289f464c52Smaya
33299f464c52Smaya  <instruction name="HCP_TILE_STATE" bias="2" length="13" engine="video">
33309f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
33319f464c52Smaya    <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
33329f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
33339f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
33349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
33359f464c52Smaya    <field name="Number of Tile Rows" start="32" end="36" type="uint"/>
33369f464c52Smaya    <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
33379f464c52Smaya    <group count="5" start="64" size="32">
33389f464c52Smaya      <field name="Column Position" start="0" end="31" type="HCP_TILE_POSITION_IN_CTB"/>
33399f464c52Smaya    </group>
33409f464c52Smaya    <group count="6" start="224" size="32">
33419f464c52Smaya      <field name="Row position" start="0" end="31" type="HCP_TILE_POSITION_IN_CTB"/>
33429f464c52Smaya    </group>
33439f464c52Smaya  </instruction>
33449f464c52Smaya
33459f464c52Smaya  <instruction name="HCP_VP9_PIC_STATE" bias="2" length="2" engine="video">
33469f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
33479f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
33489f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
33499f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
33509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
33519f464c52Smaya    <field name="Frame Width" start="32" end="45" type="uint"/>
33529f464c52Smaya    <field name="Frame Height" start="48" end="61" type="uint"/>
33539f464c52Smaya    <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
33549f464c52Smaya      <value name="Key Frame" value="0"/>
33559f464c52Smaya      <value name="Inter Frame" value="1"/>
33569f464c52Smaya    </field>
33579f464c52Smaya    <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
33589f464c52Smaya    <field name="Intra Only" start="66" end="66" type="bool"/>
33599f464c52Smaya    <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
33609f464c52Smaya    <field name="Motion Compensation Filter Type" start="68" end="70" type="uint">
33619f464c52Smaya      <value name="Eight-tap" value="0"/>
33629f464c52Smaya      <value name="Eight-tap-Smooth" value="1"/>
33639f464c52Smaya      <value name="Eight-tap-Sharp" value="2"/>
33649f464c52Smaya      <value name="Bilinear" value="3"/>
33659f464c52Smaya      <value name="Switchable" value="4"/>
33669f464c52Smaya    </field>
33679f464c52Smaya    <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
33689f464c52Smaya    <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
33699f464c52Smaya    <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
33709f464c52Smaya    <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
33719f464c52Smaya    <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
33729f464c52Smaya      <value name="Key Frame" value="0"/>
33739f464c52Smaya      <value name="Non Key Frame" value="1"/>
33749f464c52Smaya    </field>
33759f464c52Smaya    <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
33769f464c52Smaya    <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
33779f464c52Smaya    <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
33789f464c52Smaya    <field name="Filter Level" start="81" end="86" type="uint"/>
33799f464c52Smaya    <field name="Sharpness Level" start="87" end="89" type="uint"/>
33809f464c52Smaya    <field name="Segmentation Enable" start="90" end="90" type="bool"/>
33819f464c52Smaya    <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
33829f464c52Smaya    <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
33839f464c52Smaya    <field name="Lossless Mode" start="93" end="93" type="bool"/>
33849f464c52Smaya    <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
33859f464c52Smaya    <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
33869f464c52Smaya    <field name="Log2 Tile Column" start="96" end="99" type="uint">
33879f464c52Smaya      <value name="1 Tile Column" value="0"/>
33889f464c52Smaya      <value name="2 Tile Column" value="1"/>
33899f464c52Smaya      <value name="4 Tile Column" value="2"/>
33909f464c52Smaya      <value name="8 Tile Column" value="3"/>
33919f464c52Smaya      <value name="16 Tile Column" value="4"/>
33929f464c52Smaya      <value name="32 Tile Column" value="5"/>
33939f464c52Smaya      <value name="64 Tile Column" value="6"/>
33949f464c52Smaya    </field>
33959f464c52Smaya    <field name="Log2 Tile Row" start="104" end="105" type="uint">
33969f464c52Smaya      <value name="1 Tile Row" value="0"/>
33979f464c52Smaya      <value name="2 Tile Row" value="1"/>
33989f464c52Smaya      <value name="4 Tile Row" value="2"/>
33999f464c52Smaya    </field>
34009f464c52Smaya    <field name="Chroma Sampling Format" start="118" end="119" type="uint">
34019f464c52Smaya      <value name="Format_420" value="0"/>
34029f464c52Smaya    </field>
34039f464c52Smaya    <field name="Bit Depth" start="120" end="123" type="uint">
34049f464c52Smaya      <value name="8-bit" value="0"/>
34059f464c52Smaya      <value name="10-bit" value="2"/>
34069f464c52Smaya      <value name="12-bit" value="4"/>
34079f464c52Smaya    </field>
34089f464c52Smaya    <field name="Profile Level" start="124" end="127" type="uint">
34099f464c52Smaya      <value name="Profile_0" value="0"/>
34109f464c52Smaya      <value name="Profile_2" value="2"/>
34119f464c52Smaya    </field>
34129f464c52Smaya    <field name="Vertical Scale Factor for LAST" start="128" end="143" type="u2.14"/>
34139f464c52Smaya    <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
34149f464c52Smaya    <field name="Vertical Scale Factor for GOLDEN" start="160" end="175" type="u2.14"/>
34159f464c52Smaya    <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
34169f464c52Smaya    <field name="Vertical Scale Factor for ALTREF" start="192" end="207" type="u2.14"/>
34179f464c52Smaya    <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
34189f464c52Smaya    <field name="Last Frame Width" start="224" end="237" type="uint"/>
34199f464c52Smaya    <field name="Last Frame Height" start="240" end="253" type="uint"/>
34209f464c52Smaya    <field name="Golden Frame Width" start="256" end="269" type="uint"/>
34219f464c52Smaya    <field name="Golden Frame Height" start="272" end="285" type="uint"/>
34229f464c52Smaya    <field name="Altref Frame Width" start="288" end="301" type="uint"/>
34239f464c52Smaya    <field name="Altref Frame Height" start="304" end="317" type="uint"/>
34249f464c52Smaya    <field name="Uncompressed Header Length" start="320" end="327" type="uint"/>
34259f464c52Smaya    <field name="First Partition Size" start="336" end="351" type="uint"/>
34269f464c52Smaya    <field name="Motion Comp Scaling Enable" start="353" end="353" type="bool"/>
34279f464c52Smaya    <field name="Compressed Header BIN count" start="416" end="431" type="uint"/>
34289f464c52Smaya    <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
34299f464c52Smaya    <field name="Chroma AC Q Index Delta" start="448" end="452" type="int"/>
34309f464c52Smaya    <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
34319f464c52Smaya    <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
34329f464c52Smaya    <field name="LF Ref Delta 0" start="480" end="486" type="int"/>
34339f464c52Smaya    <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
34349f464c52Smaya    <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
34359f464c52Smaya    <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
34369f464c52Smaya    <field name="LF Mode Delta 0" start="512" end="518" type="int"/>
34379f464c52Smaya    <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
34389f464c52Smaya    <field name="Bit Offset for LF Ref Delta" start="544" end="559" type="uint"/>
34399f464c52Smaya    <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
34409f464c52Smaya    <field name="Bit Offset for Q index" start="576" end="591" type="uint"/>
34419f464c52Smaya    <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
34429f464c52Smaya  </instruction>
34439f464c52Smaya
34449f464c52Smaya  <instruction name="HCP_VP9_SEGMENT_STATE" bias="2" length="8" engine="video">
34459f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
34469f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
34479f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
34489f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
34499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34509f464c52Smaya    <field name="Segment ID" start="32" end="34" type="uint"/>
34519f464c52Smaya    <field name="Segment Skipped" start="64" end="64" type="bool"/>
34529f464c52Smaya    <field name="Segment Reference" start="65" end="66" type="uint"/>
34539f464c52Smaya    <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
34549f464c52Smaya    <field name="Filter Level Ref0 Mode 0" start="96" end="101" type="uint"/>
34559f464c52Smaya    <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
34569f464c52Smaya    <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
34579f464c52Smaya    <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
34589f464c52Smaya    <field name="Filter Level Ref2 Mode 0" start="128" end="133" type="uint"/>
34599f464c52Smaya    <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
34609f464c52Smaya    <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
34619f464c52Smaya    <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
34629f464c52Smaya    <field name="Luma DC Quant Scale" start="160" end="174" type="uint"/>
34639f464c52Smaya    <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
34649f464c52Smaya    <field name="Chroma DC Quant Scale" start="192" end="206" type="uint"/>
34659f464c52Smaya    <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
34669f464c52Smaya  </instruction>
34679f464c52Smaya
34689f464c52Smaya  <instruction name="HCP_WEIGHTOFFSET_STATE" bias="2" length="34" engine="video">
34699f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
34709f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
34719f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
34729f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
34739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34749f464c52Smaya    <field name="Reference Picture List Select" start="32" end="32" type="uint"/>
34759f464c52Smaya    <group count="16" start="64" size="32">
34769f464c52Smaya      <field name="Luma Offsets" start="0" end="31" type="HCP_WEIGHTOFFSET_LUMA_ENTRY"/>
34779f464c52Smaya    </group>
34789f464c52Smaya    <group count="16" start="576" size="32">
34799f464c52Smaya      <field name="Chroma Offsets" start="0" end="31" type="HCP_WEIGHTOFFSET_CHROMA_ENTRY"/>
34809f464c52Smaya    </group>
34819f464c52Smaya  </instruction>
34829f464c52Smaya
34839f464c52Smaya  <instruction name="HEVC_VP9_RDOQ_STATE" bias="2" length="62" engine="video">
34849f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="60"/>
34859f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
34869f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
34879f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
34889f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
34899f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34909f464c52Smaya    <field name="HTQ Performance Fix 1 Disable" start="62" end="62" type="bool"/>
34919f464c52Smaya    <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
34929f464c52Smaya    <group count="32" start="64" size="32">
34939f464c52Smaya      <field name="Intra Luma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
34949f464c52Smaya    </group>
34959f464c52Smaya    <group count="32" start="1088" size="32">
34969f464c52Smaya      <field name="Intra Chroma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
34979f464c52Smaya    </group>
34989f464c52Smaya    <group count="32" start="2112" size="32">
34999f464c52Smaya      <field name="Inter Luma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
35009f464c52Smaya    </group>
35019f464c52Smaya    <group count="32" start="3136" size="32">
35029f464c52Smaya      <field name="Inter Chroma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
35039f464c52Smaya    </group>
35049f464c52Smaya  </instruction>
35059f464c52Smaya
35069f464c52Smaya  <instruction name="HUC_CFG_STATE" bias="2" length="2" engine="video">
35079f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35089f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
35099f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35109f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35129f464c52Smaya    <field name="P24C" start="32" end="32" type="uint">
35139f464c52Smaya      <value name="Normal operation" value="0"/>
35149f464c52Smaya      <value name="Force reset" value="1"/>
351501e04c3fSmrg    </field>
35169f464c52Smaya  </instruction>
35179f464c52Smaya
35189f464c52Smaya  <instruction name="HUC_DMEM_STATE" bias="2" length="6" engine="video">
35199f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35209f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
35219f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35229f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35239f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35249f464c52Smaya    <field name="HUC Data Source - Address" start="32" end="95" type="address"/>
35259f464c52Smaya    <field name="HUC Data Source - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
35269f464c52Smaya    <field name="HUC Data Destination - Address" start="134" end="144" type="address"/>
35279f464c52Smaya    <field name="HUC Data Length" start="166" end="176" type="uint"/>
35289f464c52Smaya  </instruction>
35299f464c52Smaya
35309f464c52Smaya  <instruction name="HUC_IMEM_STATE" bias="2" length="5" engine="video">
35319f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35329f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
35339f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35349f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35369f464c52Smaya    <field name="HUC Firmware Descriptor" start="128" end="135" type="uint"/>
35379f464c52Smaya  </instruction>
35389f464c52Smaya
35399f464c52Smaya  <instruction name="HUC_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
35409f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35419f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
35429f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35439f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35459f464c52Smaya    <field name="HUC Indirect Stream-In Object - Address" start="32" end="95" type="address"/>
35469f464c52Smaya    <field name="HUC Indirect Stream-In Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
35479f464c52Smaya    <field name="HUC Indirect Stream-In Object - Access Upper Bound" start="128" end="191" type="address"/>
35489f464c52Smaya    <field name="HUC Indirect Stream-Out Object - Address" start="192" end="255" type="address"/>
35499f464c52Smaya    <field name="HUC Indirect Stream-Out Object - Memory Address Attributes" start="256" end="287" type="MEMORYADDRESSATTRIBUTES"/>
35509f464c52Smaya    <field name="HUC Indirect Stream-Out Object - Access Upper Bound" start="288" end="351" type="address"/>
35519f464c52Smaya  </instruction>
35529f464c52Smaya
35539f464c52Smaya  <instruction name="HUC_PIPE_MODE_SELECT" bias="2" length="3" engine="video">
35549f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35559f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
35569f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35579f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35589f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35599f464c52Smaya    <field name="Indirect Stream-Out Enable" start="36" end="36" type="bool"/>
35609f464c52Smaya    <field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
35619f464c52Smaya  </instruction>
35629f464c52Smaya
35639f464c52Smaya  <instruction name="HUC_START" bias="2" length="2" engine="video">
35649f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35659f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
35669f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35679f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35689f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35699f464c52Smaya    <field name="Last Stream Object" start="32" end="32" type="bool"/>
35709f464c52Smaya  </instruction>
35719f464c52Smaya
35729f464c52Smaya  <instruction name="HUC_STREAM_OBJECT" bias="2" length="5" engine="video">
35739f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35749f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
35759f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35769f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35789f464c52Smaya    <field name="Indirect Stream-In Data Length" start="32" end="63" type="uint"/>
35799f464c52Smaya    <field name="Indirect Stream-In - Address" start="64" end="92" type="address"/>
35809f464c52Smaya    <field name="HUC Processing" start="95" end="95" type="bool"/>
35819f464c52Smaya    <field name="Indirect Stream-Out - Address" start="96" end="124" type="address"/>
35829f464c52Smaya    <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
35839f464c52Smaya    <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
35849f464c52Smaya    <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
35859f464c52Smaya    <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
35869f464c52Smaya    <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
35879f464c52Smaya    <field name="Stream-Out" start="154" end="154" type="bool"/>
35889f464c52Smaya    <field name="DRM Length Mode" start="155" end="156" type="uint">
35899f464c52Smaya      <value name="Start Code Mode" value="0"/>
35909f464c52Smaya      <value name="Length Mode" value="1"/>
35919f464c52Smaya    </field>
35929f464c52Smaya    <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
35939f464c52Smaya  </instruction>
35949f464c52Smaya
35959f464c52Smaya  <instruction name="HUC_VIRTUAL_ADDR_STATE" bias="2" length="49" engine="video">
35969f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
35979f464c52Smaya    <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
35989f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
35999f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
36009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
36019f464c52Smaya    <group count="16" start="32" size="96">
36029f464c52Smaya      <field name="HUC Virtual Address Region" start="0" end="95" type="HUC_VIRTUAL_ADDR_REGION"/>
36039f464c52Smaya    </group>
36049f464c52Smaya  </instruction>
36059f464c52Smaya
36069f464c52Smaya  <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
36079f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
36089f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
36099f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
36109f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
36119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
36129f464c52Smaya    <field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
36139f464c52Smaya    <field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
36149f464c52Smaya  </instruction>
36159f464c52Smaya
36169f464c52Smaya  <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
36179f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
36189f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
36199f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
36209f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
36219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
36229f464c52Smaya    <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
36239f464c52Smaya    <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
36249f464c52Smaya  </instruction>
36259f464c52Smaya
36269f464c52Smaya  <instruction name="MEDIA_OBJECT" bias="2" engine="render">
36279f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="4"/>
36289f464c52Smaya    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
36299f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
36309f464c52Smaya    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
36319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
36329f464c52Smaya    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
36339f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
363401e04c3fSmrg    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
363501e04c3fSmrg      <value name="Subslice 3" value="3"/>
363601e04c3fSmrg      <value name="SubSlice 2" value="2"/>
363701e04c3fSmrg      <value name="SubSlice 1" value="1"/>
363801e04c3fSmrg      <value name="SubSlice 0" value="0"/>
363901e04c3fSmrg    </field>
36409f464c52Smaya    <field name="Slice Destination Select" start="83" end="84" type="uint">
36419f464c52Smaya      <value name="Slice 0" value="0"/>
36429f464c52Smaya      <value name="Slice 1" value="1"/>
36439f464c52Smaya      <value name="Slice 2" value="2"/>
36449f464c52Smaya    </field>
36459f464c52Smaya    <field name="Use Scoreboard" start="85" end="85" type="uint">
36469f464c52Smaya      <value name="Not using scoreboard" value="0"/>
36479f464c52Smaya      <value name="Using scoreboard" value="1"/>
36489f464c52Smaya    </field>
36499f464c52Smaya    <field name="Force Destination" start="86" end="86" type="uint"/>
36509f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
36519f464c52Smaya      <value name="No thread synchronization" value="0"/>
36529f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
36539f464c52Smaya    </field>
36549f464c52Smaya    <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
36559f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
365601e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
365701e04c3fSmrg    <field name="Scoreboard X" start="128" end="136" type="uint"/>
36589f464c52Smaya    <field name="Scoredboard Y" start="144" end="152" type="uint"/>
365901e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
36609f464c52Smaya    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
366101e04c3fSmrg    <group count="0" start="192" size="32">
366201e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
366301e04c3fSmrg    </group>
366401e04c3fSmrg  </instruction>
366501e04c3fSmrg
36669f464c52Smaya  <instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render">
366701e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="5"/>
36689f464c52Smaya    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
36699f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
36709f464c52Smaya    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
36719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
367201e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
36739f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
36749f464c52Smaya    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
36759f464c52Smaya      <value name="Subslice3" value="3"/>
36769f464c52Smaya      <value name="SubSlice 2" value="2"/>
36779f464c52Smaya      <value name="SubSlice 1" value="1"/>
36789f464c52Smaya      <value name="SubSlice 0" value="0"/>
367901e04c3fSmrg    </field>
368001e04c3fSmrg    <field name="Slice Destination Select" start="83" end="84" type="uint">
368101e04c3fSmrg      <value name="Slice 0" value="0"/>
368201e04c3fSmrg      <value name="Slice 1" value="1"/>
368301e04c3fSmrg      <value name="Slice 2" value="2"/>
368401e04c3fSmrg    </field>
36859f464c52Smaya    <field name="Use Scoreboard" start="85" end="85" type="uint">
36869f464c52Smaya      <value name="Not using scoreboard" value="0"/>
36879f464c52Smaya      <value name="Using scoreboard" value="1"/>
368801e04c3fSmrg    </field>
36899f464c52Smaya    <field name="Force Destination" start="86" end="86" type="uint"/>
36909f464c52Smaya    <field name="End of Thread Group" start="87" end="87" type="uint"/>
36919f464c52Smaya    <field name="Slice Destination Select MSB" start="88" end="88" type="uint"/>
369201e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
369301e04c3fSmrg    <field name="Scoreboard X" start="128" end="136" type="uint"/>
36949f464c52Smaya    <field name="Scoreboard Y" start="144" end="152" type="uint"/>
369501e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
36969f464c52Smaya    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
369701e04c3fSmrg    <field name="GroupID" start="192" end="223" type="uint"/>
369801e04c3fSmrg    <group count="0" start="224" size="32">
369901e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
370001e04c3fSmrg    </group>
370101e04c3fSmrg  </instruction>
370201e04c3fSmrg
37039f464c52Smaya  <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
370401e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="14"/>
37059f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
37069f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
37079f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37089f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
370901e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
371001e04c3fSmrg    <field name="PRT_FenceType" start="86" end="86" type="uint">
371101e04c3fSmrg      <value name="Root thread queue" value="0"/>
371201e04c3fSmrg      <value name="VFE state flush" value="1"/>
371301e04c3fSmrg    </field>
37149f464c52Smaya    <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
37159f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
371601e04c3fSmrg    <group count="12" start="128" size="32">
371701e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
371801e04c3fSmrg    </group>
371901e04c3fSmrg  </instruction>
372001e04c3fSmrg
37219f464c52Smaya  <instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
372201e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="15"/>
37239f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
37249f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
37259f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
372701e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
37289f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
372901e04c3fSmrg    <field name="Use Scoreboard" start="85" end="85" type="uint">
373001e04c3fSmrg      <value name="Not using scoreboard" value="0"/>
373101e04c3fSmrg      <value name="Using scoreboard" value="1"/>
373201e04c3fSmrg    </field>
37339f464c52Smaya    <field name="Masked Dispatch" start="86" end="87" type="uint"/>
37349f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
37359f464c52Smaya      <value name="No thread synchronization" value="0"/>
37369f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
37379f464c52Smaya    </field>
373801e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="uint"/>
37399f464c52Smaya    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
374001e04c3fSmrg    <field name="Group ID Loop Select" start="168" end="191" type="uint">
374101e04c3fSmrg      <value name="No_Groups" value="0"/>
374201e04c3fSmrg      <value name="Color_Groups" value="1"/>
374301e04c3fSmrg      <value name="InnerLocal_Groups" value="2"/>
374401e04c3fSmrg      <value name="MidLocal_Groups" value="3"/>
374501e04c3fSmrg      <value name="OuterLocal_Groups" value="4"/>
374601e04c3fSmrg      <value name="InnerGlobal_Groups" value="5"/>
374701e04c3fSmrg    </field>
374801e04c3fSmrg    <field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
37499f464c52Smaya    <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
37509f464c52Smaya    <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
37519f464c52Smaya    <field name="Color Count Minus One" start="216" end="219" type="uint"/>
375201e04c3fSmrg    <field name="Local Loop Exec Count" start="224" end="235" type="uint"/>
37539f464c52Smaya    <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
375401e04c3fSmrg    <field name="Block Resolution X" start="256" end="266" type="uint"/>
37559f464c52Smaya    <field name="Block Resolution Y" start="272" end="282" type="uint"/>
375601e04c3fSmrg    <field name="Local Start X" start="288" end="298" type="uint"/>
37579f464c52Smaya    <field name="Local Start Y" start="304" end="314" type="uint"/>
375801e04c3fSmrg    <field name="Local Outer Loop Stride X" start="352" end="363" type="int"/>
37599f464c52Smaya    <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
376001e04c3fSmrg    <field name="Local Inner Loop Unit X" start="384" end="395" type="int"/>
37619f464c52Smaya    <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
376201e04c3fSmrg    <field name="Global Resolution X" start="416" end="426" type="uint"/>
37639f464c52Smaya    <field name="Global Resolution Y" start="432" end="442" type="uint"/>
376401e04c3fSmrg    <field name="Global Start X" start="448" end="459" type="int"/>
37659f464c52Smaya    <field name="Global Start Y" start="464" end="475" type="int"/>
376601e04c3fSmrg    <field name="Global Outer Loop Stride X" start="480" end="491" type="int"/>
37679f464c52Smaya    <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
376801e04c3fSmrg    <field name="Global Inner Loop Unit X" start="512" end="523" type="int"/>
37699f464c52Smaya    <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
377001e04c3fSmrg    <group count="0" start="544" size="32">
377101e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
377201e04c3fSmrg    </group>
377301e04c3fSmrg  </instruction>
377401e04c3fSmrg
37759f464c52Smaya  <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
377601e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
37779f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
37789f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
37799f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37809f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
378101e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
37829f464c52Smaya    <field name="Watermark Required" start="38" end="38" type="uint"/>
37839f464c52Smaya    <field name="Flush to GO" start="39" end="39" type="bool"/>
378401e04c3fSmrg  </instruction>
378501e04c3fSmrg
37869f464c52Smaya  <instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render">
378701e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="7"/>
37889f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
37899f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
37909f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
379201e04c3fSmrg    <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
37939f464c52Smaya    <field name="Stack Size" start="36" end="39" type="uint"/>
37949f464c52Smaya    <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
379501e04c3fSmrg    <field name="Reset Gateway Timer" start="103" end="103" type="uint">
379601e04c3fSmrg      <value name="Maintaining the existing timestamp state" value="0"/>
379701e04c3fSmrg      <value name="Resetting relative timer and latching the global timestamp" value="1"/>
379801e04c3fSmrg    </field>
37999f464c52Smaya    <field name="Number of URB Entries" start="104" end="111" type="uint"/>
38009f464c52Smaya    <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
380101e04c3fSmrg    <field name="Slice Disable" start="128" end="129" type="uint">
380201e04c3fSmrg      <value name="All Subslices Enabled" value="0"/>
380301e04c3fSmrg      <value name="Only Slice 0 Enabled" value="1"/>
380401e04c3fSmrg      <value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
380501e04c3fSmrg    </field>
380601e04c3fSmrg    <field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
38079f464c52Smaya    <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
38089f464c52Smaya    <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
380901e04c3fSmrg    <field name="Scoreboard Type" start="222" end="222" type="uint">
381001e04c3fSmrg      <value name="Stalling Scoreboard" value="0"/>
381101e04c3fSmrg      <value name="Non-Stalling Scoreboard" value="1"/>
381201e04c3fSmrg    </field>
38139f464c52Smaya    <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
381401e04c3fSmrg    <field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
38159f464c52Smaya    <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
38169f464c52Smaya    <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
38179f464c52Smaya    <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
38189f464c52Smaya    <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
38199f464c52Smaya    <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
38209f464c52Smaya    <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
38219f464c52Smaya    <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
382201e04c3fSmrg    <field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
38239f464c52Smaya    <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
38249f464c52Smaya    <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
38259f464c52Smaya    <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
38269f464c52Smaya    <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
38279f464c52Smaya    <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
38289f464c52Smaya    <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
38299f464c52Smaya    <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
38309f464c52Smaya  </instruction>
38319f464c52Smaya
38329f464c52Smaya  <instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
38339f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="10"/>
38349f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
38359f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
38369f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
38379f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38399f464c52Smaya    <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
38409f464c52Smaya    <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
38419f464c52Smaya    <group count="8" start="96" size="32">
38429f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
38439f464c52Smaya    </group>
38449f464c52Smaya    <group count="12" start="384" size="32">
38459f464c52Smaya      <field name="VDEnc Mode Inline Data" start="0" end="31" type="uint"/>
38469f464c52Smaya    </group>
38479f464c52Smaya  </instruction>
38489f464c52Smaya
38499f464c52Smaya  <instruction name="MFC_JPEG_HUFF_TABLE_STATE" bias="2" length="176" engine="video">
38509f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="174"/>
38519f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
38529f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
38539f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
38549f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38559f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38569f464c52Smaya    <field name="Huff Table ID" start="32" end="32" type="uint"/>
38579f464c52Smaya    <field name="DC_TABLE" start="64" end="447" type="uint"/>
38589f464c52Smaya    <field name="AC_TABLE" start="448" end="5631" type="uint"/>
38599f464c52Smaya  </instruction>
38609f464c52Smaya
38619f464c52Smaya  <instruction name="MFC_JPEG_SCAN_OBJECT" bias="2" length="3" engine="video">
38629f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
38639f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
38649f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
38659f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
38669f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38679f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38689f464c52Smaya    <field name="MCU Count" start="32" end="57" type="uint"/>
38699f464c52Smaya    <field name="Restart Interval" start="64" end="79" type="uint"/>
38709f464c52Smaya    <field name="Last Scan" start="80" end="80" type="bool"/>
38719f464c52Smaya    <field name="Head Present" start="81" end="81" type="bool"/>
38729f464c52Smaya    <field name="Huffman DC Table" start="82" end="84" type="uint"/>
38739f464c52Smaya    <field name="Huffman AC Table" start="86" end="88" type="uint"/>
38749f464c52Smaya  </instruction>
38759f464c52Smaya
38769f464c52Smaya  <instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
38779f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="7"/>
38789f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
38799f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
38809f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
38819f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38829f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38839f464c52Smaya    <group count="8" start="32" size="32">
38849f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
38859f464c52Smaya    </group>
38869f464c52Smaya  </instruction>
38879f464c52Smaya
38889f464c52Smaya  <instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
38899f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="6"/>
38909f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
38919f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
38929f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
38939f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38949f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38959f464c52Smaya    <field name="Stream ID" start="32" end="33" type="uint"/>
38969f464c52Smaya    <field name="Slice ID" start="36" end="39" type="uint"/>
38979f464c52Smaya    <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
38989f464c52Smaya    <field name="Intra Slice" start="45" end="45" type="bool"/>
38999f464c52Smaya    <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
39009f464c52Smaya    <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
39019f464c52Smaya    <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
39029f464c52Smaya    <field name="Header Insertion Present" start="49" end="49" type="bool"/>
39039f464c52Smaya    <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
39049f464c52Smaya    <field name="Last Slice" start="51" end="51" type="bool"/>
39059f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
39069f464c52Smaya    <field name="Rate Control Panic Type" start="54" end="54" type="uint">
39079f464c52Smaya      <value name="QP Panic" value="0"/>
39089f464c52Smaya      <value name="CBP Panic" value="1"/>
39099f464c52Smaya    </field>
39109f464c52Smaya    <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
39119f464c52Smaya    <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
39129f464c52Smaya    <field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
39139f464c52Smaya      <value name="Always Rate Control" value="0"/>
39149f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
39159f464c52Smaya      <value name="Loose Rate Control" value="2"/>
39169f464c52Smaya    </field>
39179f464c52Smaya    <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
39189f464c52Smaya    <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
39199f464c52Smaya    <field name="First MB X Count" start="64" end="71" type="uint"/>
39209f464c52Smaya    <field name="First MB Y Count" start="72" end="79" type="uint"/>
39219f464c52Smaya    <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
39229f464c52Smaya    <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
39239f464c52Smaya    <field name="Slice Group QP" start="96" end="101" type="uint"/>
39249f464c52Smaya    <field name="Slice Group Skip" start="104" end="104" type="bool"/>
39259f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
39269f464c52Smaya    <field name="Grow Init" start="160" end="163" type="uint"/>
39279f464c52Smaya    <field name="Grow Resistance" start="164" end="167" type="uint"/>
39289f464c52Smaya    <field name="Shrink Init" start="168" end="171" type="uint"/>
39299f464c52Smaya    <field name="Shrink Resistance" start="172" end="175" type="uint"/>
39309f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
39319f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
39329f464c52Smaya    <field name="Correct 1" start="192" end="195" type="uint"/>
39339f464c52Smaya    <field name="Correct 2" start="196" end="199" type="uint"/>
39349f464c52Smaya    <field name="Correct 3" start="200" end="203" type="uint"/>
39359f464c52Smaya    <field name="Correct 4" start="204" end="207" type="uint"/>
39369f464c52Smaya    <field name="Correct 5" start="208" end="211" type="uint"/>
39379f464c52Smaya    <field name="Correct 6" start="212" end="215" type="uint"/>
39389f464c52Smaya    <field name="CV0" start="224" end="227" type="uint"/>
39399f464c52Smaya    <field name="CV1" start="228" end="231" type="uint"/>
39409f464c52Smaya    <field name="CV2" start="232" end="235" type="uint"/>
39419f464c52Smaya    <field name="CV3" start="236" end="239" type="uint"/>
39429f464c52Smaya    <field name="CV4" start="240" end="243" type="uint"/>
39439f464c52Smaya    <field name="CV5" start="244" end="247" type="uint"/>
39449f464c52Smaya    <field name="CV6" start="248" end="251" type="uint"/>
39459f464c52Smaya    <field name="CV7" start="252" end="255" type="uint"/>
39469f464c52Smaya  </instruction>
39479f464c52Smaya
39489f464c52Smaya  <instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
39499f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
39509f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
39519f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
39529f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
39539f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
39549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
39559f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
39569f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
39579f464c52Smaya    <field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
39589f464c52Smaya  </instruction>
39599f464c52Smaya
39609f464c52Smaya  <instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
39619f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
39629f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
39639f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
39649f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
39659f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
39669f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
39679f464c52Smaya    <group count="16" start="32" size="1">
39689f464c52Smaya      <field name="Non-Existing Frame" start="0" end="0" type="uint">
39699f464c52Smaya        <value name="INVALID" value="1"/>
39709f464c52Smaya        <value name="VALID" value="0"/>
39719f464c52Smaya      </field>
39729f464c52Smaya    </group>
39739f464c52Smaya    <group count="16" start="48" size="1">
39749f464c52Smaya      <field name="Long Term Frame" start="0" end="0" type="uint"/>
39759f464c52Smaya    </group>
39769f464c52Smaya    <group count="16" start="64" size="2">
39779f464c52Smaya      <field name="Used for Reference" start="0" end="1" type="uint">
39789f464c52Smaya        <value name="NOT_REFERENCE" value="0"/>
39799f464c52Smaya        <value name="TOP_FIELD" value="1"/>
39809f464c52Smaya        <value name="BOTTOM_FIELD" value="2"/>
39819f464c52Smaya        <value name="FRAME" value="3"/>
39829f464c52Smaya      </field>
39839f464c52Smaya    </group>
39849f464c52Smaya    <group count="16" start="96" size="16">
39859f464c52Smaya      <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
39869f464c52Smaya        <value name="Long Term Frame" value="1"/>
39879f464c52Smaya        <value name="Short Term Frame" value="0"/>
39889f464c52Smaya      </field>
39899f464c52Smaya    </group>
39909f464c52Smaya    <group count="16" start="352" size="16">
39919f464c52Smaya      <field name="View ID" start="0" end="15" type="uint"/>
39929f464c52Smaya    </group>
39939f464c52Smaya    <group count="16" start="608" size="8">
39949f464c52Smaya      <field name="L0 View Order" start="0" end="7" type="uint"/>
39959f464c52Smaya    </group>
39969f464c52Smaya    <group count="16" start="736" size="8">
39979f464c52Smaya      <field name="L1 View Order" start="0" end="7" type="uint"/>
39989f464c52Smaya    </group>
39999f464c52Smaya  </instruction>
40009f464c52Smaya
40019f464c52Smaya  <instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
40029f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
40039f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
40049f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40059f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
40069f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40079f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40089f464c52Smaya    <field name="PictureID Remapping Disable" start="32" end="32" type="uint">
40099f464c52Smaya      <value name="Use 16 bits Picture ID" value="0"/>
40109f464c52Smaya      <value name="Use 4 bits FrameStoreID" value="1"/>
40119f464c52Smaya    </field>
40129f464c52Smaya    <group count="16" start="64" size="16">
40139f464c52Smaya      <field name="Picture ID" start="0" end="15" type="uint"/>
40149f464c52Smaya    </group>
40159f464c52Smaya  </instruction>
40169f464c52Smaya
40179f464c52Smaya  <instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
40189f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
40199f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
40209f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40219f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
40229f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40239f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40249f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
40259f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
40269f464c52Smaya  </instruction>
40279f464c52Smaya
40289f464c52Smaya  <instruction name="MFD_IT_OBJECT" bias="2" engine="video">
40299f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="6"/>
40309f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
40319f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40329f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
40339f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40359f464c52Smaya    <field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
40369f464c52Smaya    <field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
40379f464c52Smaya    <field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
40389f464c52Smaya    <field name="Indirect IT-COEFF Data Start Address Offset" start="128" end="156" type="offset"/>
40399f464c52Smaya    <field name="Indirect IT-DBLK Control Data Length" start="160" end="165" type="uint"/>
40409f464c52Smaya    <field name="Indirect IT-DBLK Control Data Start Address Offset" start="192" end="220" type="offset"/>
40419f464c52Smaya    <group count="0" start="224" size="32">
40429f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
40439f464c52Smaya    </group>
40449f464c52Smaya  </instruction>
40459f464c52Smaya
40469f464c52Smaya  <instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
40479f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
40489f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
40499f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40509f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
40519f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40539f464c52Smaya    <field name="Indirect Data Length" start="32" end="63" type="uint"/>
40549f464c52Smaya    <field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
40559f464c52Smaya    <field name="Scan Vertical Position" start="96" end="108" type="uint"/>
40569f464c52Smaya    <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
40579f464c52Smaya    <field name="MCU Count" start="128" end="153" type="uint"/>
40589f464c52Smaya    <field name="Scan Components" start="155" end="157" type="uint"/>
40599f464c52Smaya    <field name="Interleaved" start="158" end="158" type="bool"/>
40609f464c52Smaya    <field name="Restart Interval" start="160" end="175" type="uint"/>
40619f464c52Smaya  </instruction>
40629f464c52Smaya
40639f464c52Smaya  <instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
40649f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
40659f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
40669f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40679f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
40689f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40699f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40709f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
40719f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
40729f464c52Smaya    <field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
40739f464c52Smaya  </instruction>
40749f464c52Smaya
40759f464c52Smaya  <instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
40769f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
40779f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
40789f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40799f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
40809f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40829f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
40839f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
40849f464c52Smaya    <field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
40859f464c52Smaya    <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
40869f464c52Smaya    <field name="First MB Bit Offset" start="128" end="130" type="uint"/>
40879f464c52Smaya    <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
40889f464c52Smaya    <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
40899f464c52Smaya  </instruction>
40909f464c52Smaya
40919f464c52Smaya  <instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
40929f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
40939f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
40949f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
40959f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
40969f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
40979f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
40989f464c52Smaya    <field name="Picture Width In MBs" start="32" end="39" type="uint"/>
40999f464c52Smaya    <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
41009f464c52Smaya    <field name="VC1 Profile" start="64" end="64" type="uint">
41019f464c52Smaya      <value name="Simple/Main Profile" value="0"/>
41029f464c52Smaya      <value name="Advanced Profile" value="1"/>
41039f464c52Smaya    </field>
41049f464c52Smaya    <field name="Second Field" start="67" end="67" type="bool"/>
41059f464c52Smaya    <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
41069f464c52Smaya    <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
41079f464c52Smaya    <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
41089f464c52Smaya    <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
41099f464c52Smaya    <field name="MV Mode" start="72" end="75" type="uint"/>
41109f464c52Smaya    <field name="Sync Marker" start="76" end="76" type="bool"/>
41119f464c52Smaya    <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
41129f464c52Smaya    <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
41139f464c52Smaya    <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
41149f464c52Smaya    <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
41159f464c52Smaya    <field name="B Scale Factor" start="96" end="103" type="uint"/>
41169f464c52Smaya    <field name="PQ Value" start="104" end="108" type="uint"/>
41179f464c52Smaya    <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
41189f464c52Smaya    <field name="Frame Coding Mode" start="120" end="121" type="uint">
41199f464c52Smaya      <value name="Progressive Frame Picture" value="0"/>
41209f464c52Smaya      <value name="Interlaced Frame Picture" value="1"/>
41219f464c52Smaya      <value name="Field Picture with Top Field First" value="2"/>
41229f464c52Smaya      <value name="Field Picture with Bottom Field First" value="3"/>
41239f464c52Smaya    </field>
41249f464c52Smaya    <field name="Picure Type" start="122" end="124" type="uint"/>
41259f464c52Smaya    <field name="CONDOVER" start="125" end="126" type="uint"/>
41269f464c52Smaya    <field name="PQ Uniform" start="128" end="128" type="bool"/>
41279f464c52Smaya    <field name="Half QP" start="129" end="129" type="bool"/>
41289f464c52Smaya    <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
41299f464c52Smaya    <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
41309f464c52Smaya    <field name="Extended MV Range" start="136" end="137" type="uint"/>
41319f464c52Smaya    <field name="Extended DMV Range" start="138" end="139" type="uint"/>
41329f464c52Smaya    <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
41339f464c52Smaya    <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
41349f464c52Smaya    <field name="Number of References" start="152" end="152" type="uint">
41359f464c52Smaya      <value name="One field referenced" value="0"/>
41369f464c52Smaya      <value name="Two fields referenced" value="1"/>
41379f464c52Smaya    </field>
41389f464c52Smaya    <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
41399f464c52Smaya      <value name="Top (even) Field" value="0"/>
41409f464c52Smaya      <value name="Bottom (odd) Field" value="1"/>
41419f464c52Smaya    </field>
41429f464c52Smaya    <field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
41439f464c52Smaya      <value name="No Rounding" value="0"/>
41449f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
41459f464c52Smaya    </field>
41469f464c52Smaya    <field name="Four MV Switch" start="155" end="155" type="uint">
41479f464c52Smaya      <value name="Only 1-MV" value="0"/>
41489f464c52Smaya      <value name="1, 2, or 4 MVs" value="1"/>
41499f464c52Smaya    </field>
41509f464c52Smaya    <field name="Unified MV Mode" start="156" end="157" type="uint">
41519f464c52Smaya      <value name="1-MV half-pel bilinear" value="3"/>
41529f464c52Smaya      <value name="1-MV" value="1"/>
41539f464c52Smaya      <value name="1-MV half-pel" value="2"/>
41549f464c52Smaya      <value name="Mixed MV" value="0"/>
41559f464c52Smaya    </field>
41569f464c52Smaya    <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
41579f464c52Smaya    <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
41589f464c52Smaya    <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
41599f464c52Smaya    <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
41609f464c52Smaya    <field name="MB Mode Table" start="168" end="170" type="uint"/>
41619f464c52Smaya    <field name="MB Transform Type" start="171" end="171" type="bool"/>
41629f464c52Smaya    <field name="Picture-level Transform Type" start="172" end="173" type="uint">
41639f464c52Smaya      <value name="8x8 Transform" value="0"/>
41649f464c52Smaya      <value name="8x4 Transform" value="1"/>
41659f464c52Smaya      <value name="4x8 Transform" value="2"/>
41669f464c52Smaya      <value name="4x4 Transform" value="3"/>
41679f464c52Smaya    </field>
41689f464c52Smaya    <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
41699f464c52Smaya    <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
41709f464c52Smaya    <field name="MV Table" start="180" end="182" type="uint"/>
41719f464c52Smaya    <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
41729f464c52Smaya    <field name="ACPRED Raw" start="185" end="185" type="bool"/>
41739f464c52Smaya    <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
41749f464c52Smaya    <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
41759f464c52Smaya    <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
41769f464c52Smaya    <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
41779f464c52Smaya    <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
41789f464c52Smaya    <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
41799f464c52Smaya  </instruction>
41809f464c52Smaya
41819f464c52Smaya  <instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
41829f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
41839f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
41849f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
41859f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
41869f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
41879f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
41889f464c52Smaya    <field name="Picture Width" start="32" end="39" type="uint"/>
41899f464c52Smaya    <field name="Picture Height" start="48" end="55" type="uint"/>
41909f464c52Smaya    <field name="Picture Structure" start="64" end="65" type="uint"/>
41919f464c52Smaya    <field name="Second Field" start="67" end="67" type="bool"/>
41929f464c52Smaya    <field name="Intra Picture" start="68" end="68" type="bool"/>
41939f464c52Smaya    <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
41949f464c52Smaya    <field name="VC1 Profile" start="75" end="75" type="uint">
41959f464c52Smaya      <value name="Simple/Main Profile" value="0"/>
41969f464c52Smaya      <value name="Advanced Profile" value="1"/>
41979f464c52Smaya    </field>
41989f464c52Smaya    <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
41999f464c52Smaya    <field name="MV Mode" start="80" end="83" type="uint"/>
42009f464c52Smaya    <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
42019f464c52Smaya    <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
42029f464c52Smaya    <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
42039f464c52Smaya    <field name="DQUANT" start="97" end="98" type="uint"/>
42049f464c52Smaya    <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
42059f464c52Smaya    <field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
42069f464c52Smaya      <value name="No Rounding" value="0"/>
42079f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
42089f464c52Smaya    </field>
42099f464c52Smaya    <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
42109f464c52Smaya    <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
42119f464c52Smaya    <field name="PANSCAN Present" start="103" end="103" type="bool"/>
42129f464c52Smaya    <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
42139f464c52Smaya    <field name="RANGERED Present" start="107" end="107" type="bool"/>
42149f464c52Smaya    <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
42159f464c52Smaya    <field name="MULTIRES Present" start="109" end="109" type="bool"/>
42169f464c52Smaya    <field name="QUANTIZER" start="110" end="111" type="uint"/>
42179f464c52Smaya    <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
42189f464c52Smaya    <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
42199f464c52Smaya    <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
42209f464c52Smaya    <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
42219f464c52Smaya    <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
42229f464c52Smaya    <field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
42239f464c52Smaya    <field name="PSF" start="129" end="129" type="bool"/>
42249f464c52Smaya    <field name="REFPIC" start="130" end="130" type="bool"/>
42259f464c52Smaya    <field name="FINTERFLAG" start="131" end="131" type="bool"/>
42269f464c52Smaya    <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
42279f464c52Smaya    <field name="INTERLACE" start="133" end="133" type="bool"/>
42289f464c52Smaya    <field name="PULLDOWN" start="134" end="134" type="bool"/>
42299f464c52Smaya    <field name="POSTPROC" start="135" end="135" type="bool"/>
42309f464c52Smaya    <field name="4-MV Allowed" start="136" end="136" type="bool"/>
42319f464c52Smaya    <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
42329f464c52Smaya  </instruction>
42339f464c52Smaya
42349f464c52Smaya  <instruction name="MFD_VP8_BSD_OBJECT" bias="2" length="22" engine="video">
42359f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="20"/>
42369f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
42379f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
42389f464c52Smaya    <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
42399f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
42409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
42419f464c52Smaya    <field name="Partition0 First MB Bit Offset from Frame Header" start="32" end="34" type="uint"/>
42429f464c52Smaya    <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
42439f464c52Smaya    <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
42449f464c52Smaya    <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
42459f464c52Smaya    <field name="Partition0 CPBAC Entropy Value" start="88" end="95" type="uint"/>
42469f464c52Smaya    <field name="Indirect Partition0 Data Length" start="96" end="119" type="uint"/>
42479f464c52Smaya    <field name="Indirect Partition0 Data Start Offset" start="128" end="159" type="uint"/>
42489f464c52Smaya    <field name="Indirect Partition1 Data Length" start="160" end="183" type="uint"/>
42499f464c52Smaya    <field name="Indirect Partition1 Data Start Offset" start="192" end="223" type="uint"/>
42509f464c52Smaya    <field name="Indirect Partition2 Data Length" start="224" end="247" type="uint"/>
42519f464c52Smaya    <field name="Indirect Partition2 Data Start Offset" start="256" end="287" type="uint"/>
42529f464c52Smaya    <field name="Indirect Partition3 Data Length" start="288" end="311" type="uint"/>
42539f464c52Smaya    <field name="Indirect Partition3 Data Start Offset" start="320" end="351" type="uint"/>
42549f464c52Smaya    <field name="Indirect Partition4 Data Length" start="352" end="375" type="uint"/>
42559f464c52Smaya    <field name="Indirect Partition4 Data Start Offset" start="384" end="415" type="uint"/>
42569f464c52Smaya    <field name="Indirect Partition5 Data Length" start="416" end="439" type="uint"/>
42579f464c52Smaya    <field name="Indirect Partition5 Data Start Offset" start="448" end="479" type="uint"/>
42589f464c52Smaya    <field name="Indirect Partition6 Data Length" start="480" end="503" type="uint"/>
42599f464c52Smaya    <field name="Indirect Partition6 Data Start Offset" start="512" end="543" type="uint"/>
42609f464c52Smaya    <field name="Indirect Partition7 Data Length" start="544" end="567" type="uint"/>
42619f464c52Smaya    <field name="Indirect Partition7 Data Start Offset" start="576" end="607" type="uint"/>
42629f464c52Smaya    <field name="Indirect Partition8 Data Length" start="608" end="631" type="uint"/>
42639f464c52Smaya    <field name="Indirect Partition8 Data Start Offset" start="640" end="671" type="uint"/>
42649f464c52Smaya    <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
42659f464c52Smaya    <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
42669f464c52Smaya    <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
42679f464c52Smaya    <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
42689f464c52Smaya    <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
42699f464c52Smaya    <field name="Concealment Method" start="703" end="703" type="uint">
42709f464c52Smaya      <value name="Intra 16x16 Prediction" value="0"/>
42719f464c52Smaya      <value name="Inter P Copy" value="1"/>
42729f464c52Smaya    </field>
42739f464c52Smaya  </instruction>
42749f464c52Smaya
42759f464c52Smaya  <instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
42769f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="69"/>
42779f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
42789f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
42799f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
42809f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
42819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
42829f464c52Smaya    <group count="16" start="32" size="64">
42839f464c52Smaya      <field name="Direct MV Buffer - Address" start="0" end="63" type="address"/>
42849f464c52Smaya    </group>
42859f464c52Smaya    <field name="Direct MV Buffer - Attributes" start="1056" end="1087" type="MEMORYADDRESSATTRIBUTES"/>
42869f464c52Smaya    <field name="Direct MV Buffer (Write) - Address" start="1088" end="1151" type="address"/>
42879f464c52Smaya    <field name="Direct MV Buffer (Write) - Attributes" start="1152" end="1183" type="MEMORYADDRESSATTRIBUTES"/>
42889f464c52Smaya    <group count="34" start="1184" size="32">
42899f464c52Smaya      <field name="POC List" start="0" end="31" type="uint"/>
42909f464c52Smaya    </group>
42919f464c52Smaya  </instruction>
42929f464c52Smaya
42939f464c52Smaya  <instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
42949f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="12"/>
42959f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
42969f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
42979f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
42989f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
42999f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
43009f464c52Smaya    <field name="Frame Size" start="32" end="47" type="uint"/>
43019f464c52Smaya    <field name="Frame Width" start="64" end="71" type="uint"/>
43029f464c52Smaya    <field name="Frame Height" start="80" end="87" type="uint"/>
43039f464c52Smaya    <field name="Image Structure" start="104" end="105" type="uint">
43049f464c52Smaya      <value name="Frame Picture" value="0"/>
43059f464c52Smaya      <value name="Top Field Picture" value="1"/>
43069f464c52Smaya      <value name="Bottom Field Picture" value="3"/>
43079f464c52Smaya      <value name="Invalid, not allowed." value="2"/>
43089f464c52Smaya    </field>
43099f464c52Smaya    <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
43109f464c52Smaya      <value name="DEFAULT" value="0"/>
43119f464c52Smaya      <value name="EXPLICIT" value="1"/>
43129f464c52Smaya      <value name="IMPLICIT" value="2"/>
43139f464c52Smaya    </field>
43149f464c52Smaya    <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
43159f464c52Smaya    <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
43169f464c52Smaya    <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
43179f464c52Smaya    <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
43189f464c52Smaya    <field name="Field Picure" start="128" end="128" type="bool"/>
43199f464c52Smaya    <field name="MBAFF Mode" start="129" end="129" type="bool"/>
43209f464c52Smaya    <field name="Frame MB Only" start="130" end="130" type="bool"/>
43219f464c52Smaya    <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
43229f464c52Smaya    <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
43239f464c52Smaya    <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
43249f464c52Smaya    <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
43259f464c52Smaya    <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
43269f464c52Smaya    <field name="MB MV Format" start="136" end="136" type="uint">
43279f464c52Smaya      <value name="IGNORE" value="0"/>
43289f464c52Smaya      <value name="FOLLOW" value="1"/>
43299f464c52Smaya    </field>
43309f464c52Smaya    <field name="Chroma Format IDC" start="138" end="139" type="uint">
43319f464c52Smaya      <value name="Monochrome picture" value="0"/>
43329f464c52Smaya      <value name="4:2:0 picture" value="1"/>
43339f464c52Smaya      <value name="4:2:2 picture (not supported)" value="2"/>
43349f464c52Smaya      <value name="4:4:4 picture (not supported)" value="3"/>
43359f464c52Smaya    </field>
43369f464c52Smaya    <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
43379f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
43389f464c52Smaya    <field name="MB Status Read" start="143" end="143" type="bool"/>
43399f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
43409f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
43419f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
43429f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
43439f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
43449f464c52Smaya    <field name="Force IPCM Control" start="167" end="167" type="bool"/>
43459f464c52Smaya    <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
43469f464c52Smaya    <field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="AVC_MFSU">
43479f464c52Smaya      <value name="Compatibility mode" value="0"/>
43489f464c52Smaya      <value name="16 bytes" value="1"/>
43499f464c52Smaya      <value name="4Kb" value="2"/>
43509f464c52Smaya      <value name="16Kb" value="3"/>
43519f464c52Smaya    </field>
43529f464c52Smaya    <field name="Non First Pass" start="176" end="176" type="uint"/>
43539f464c52Smaya    <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
43549f464c52Smaya    <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
43559f464c52Smaya    <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
43569f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
43579f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
43589f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
43599f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
43609f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
43619f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
43629f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
43639f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
43649f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
43659f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
43669f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
43679f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
43689f464c52Smaya      <value name="Compatibility mode" value="0"/>
43699f464c52Smaya      <value name="New mode" value="1"/>
43709f464c52Smaya    </field>
43719f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
43729f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
43739f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
43749f464c52Smaya      <value name="Compatibility mode" value="0"/>
43759f464c52Smaya      <value name="New mode" value="1"/>
43769f464c52Smaya    </field>
43779f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
43789f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
43799f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
43809f464c52Smaya    <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
43819f464c52Smaya    <field name="Initial QP Value" start="416" end="423" type="int"/>
43829f464c52Smaya    <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
43839f464c52Smaya    <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
43849f464c52Smaya    <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
43859f464c52Smaya    <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
43869f464c52Smaya    <field name="Pic Order Present" start="448" end="448" type="bool"/>
43879f464c52Smaya    <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
43889f464c52Smaya    <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
43899f464c52Smaya    <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
43909f464c52Smaya    <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
43919f464c52Smaya    <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
43929f464c52Smaya    <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
43939f464c52Smaya    <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
43949f464c52Smaya    <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
43959f464c52Smaya    <field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
43969f464c52Smaya    <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
43979f464c52Smaya    <field name="Current Frame View ID" start="512" end="521" type="uint"/>
43989f464c52Smaya    <field name="Max View IDXL0" start="524" end="527" type="uint"/>
43999f464c52Smaya    <field name="Max View IDXL1" start="530" end="533" type="uint"/>
44009f464c52Smaya    <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
44019f464c52Smaya    <field name="Rho Domain Average MB QP" start="560" end="565" type="uint"/>
44029f464c52Smaya    <field name="Threshold Size" start="608" end="639" type="uint"/>
44039f464c52Smaya    <field name="Target Slice Size" start="640" end="671" type="uint"/>
44049f464c52Smaya  </instruction>
44059f464c52Smaya
44069f464c52Smaya  <instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
44079f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
44089f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
44099f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
44109f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
44119f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
44129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
44139f464c52Smaya    <field name="Reference Picture List Select" start="32" end="32" type="uint"/>
44149f464c52Smaya    <group count="32" start="64" size="8">
44159f464c52Smaya      <field name="Reference List Entry" start="0" end="7" type="uint"/>
44169f464c52Smaya    </group>
44179f464c52Smaya  </instruction>
44189f464c52Smaya
44199f464c52Smaya  <instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
44209f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
44219f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
44229f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
44239f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
44249f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
44259f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
44269f464c52Smaya    <field name="Slice Type" start="32" end="35" type="uint" prefix="AVC_ST">
44279f464c52Smaya      <value name="P Slice" value="0"/>
44289f464c52Smaya      <value name="B Slice" value="1"/>
44299f464c52Smaya      <value name="I Slice" value="2"/>
44309f464c52Smaya    </field>
44319f464c52Smaya    <field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
44329f464c52Smaya    <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
44339f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
44349f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
44359f464c52Smaya    <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
44369f464c52Smaya    <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
44379f464c52Smaya    <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
44389f464c52Smaya    <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
44399f464c52Smaya    <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
44409f464c52Smaya    <field name="Direct Prediction Type" start="125" end="125" type="uint">
44419f464c52Smaya      <value name="Temporal" value="0"/>
44429f464c52Smaya      <value name="Spatial" value="1"/>
44439f464c52Smaya    </field>
44449f464c52Smaya    <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
44459f464c52Smaya    <field name="Slice Start MB Number" start="128" end="142" type="uint"/>
44469f464c52Smaya    <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
44479f464c52Smaya    <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
44489f464c52Smaya    <field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
44499f464c52Smaya    <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
44509f464c52Smaya    <field name="Stream ID" start="192" end="193" type="uint"/>
44519f464c52Smaya    <field name="Slice ID" start="196" end="199" type="uint"/>
44529f464c52Smaya    <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
44539f464c52Smaya    <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
44549f464c52Smaya    <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
44559f464c52Smaya    <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
44569f464c52Smaya    <field name="Header Insertion Present" start="209" end="209" type="bool"/>
44579f464c52Smaya    <field name="Last Slice Group" start="211" end="211" type="bool"/>
44589f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
44599f464c52Smaya    <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
44609f464c52Smaya    <field name="Rate Control Panic Type" start="214" end="214" type="uint">
44619f464c52Smaya      <value name="QP Panic" value="0"/>
44629f464c52Smaya      <value name="CBP Panic" value="1"/>
44639f464c52Smaya    </field>
44649f464c52Smaya    <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
44659f464c52Smaya    <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
44669f464c52Smaya    <field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
44679f464c52Smaya      <value name="Always Rate Control" value="0"/>
44689f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
44699f464c52Smaya      <value name="Loose Rate Control" value="2"/>
44709f464c52Smaya    </field>
44719f464c52Smaya    <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
44729f464c52Smaya    <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
44739f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
44749f464c52Smaya    <field name="Grow Init" start="256" end="259" type="uint"/>
44759f464c52Smaya    <field name="Grow Resistance" start="260" end="263" type="uint"/>
44769f464c52Smaya    <field name="Shrink Init" start="264" end="267" type="uint"/>
44779f464c52Smaya    <field name="Shrink Resistance" start="268" end="271" type="uint"/>
44789f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
44799f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
44809f464c52Smaya    <field name="Correct 1" start="288" end="291" type="uint"/>
44819f464c52Smaya    <field name="Correct 2" start="292" end="295" type="uint"/>
44829f464c52Smaya    <field name="Correct 3" start="296" end="299" type="uint"/>
44839f464c52Smaya    <field name="Correct 4" start="300" end="303" type="uint"/>
44849f464c52Smaya    <field name="Correct 5" start="304" end="307" type="uint"/>
44859f464c52Smaya    <field name="Correct 6" start="308" end="311" type="uint"/>
44869f464c52Smaya    <field name="Round Intra" start="312" end="314" type="uint">
44879f464c52Smaya      <value name="+1/16" value="0"/>
44889f464c52Smaya      <value name="+2/16" value="1"/>
44899f464c52Smaya      <value name="+3/16" value="2"/>
44909f464c52Smaya      <value name="+4/16" value="3"/>
44919f464c52Smaya      <value name="+5/16" value="4"/>
44929f464c52Smaya      <value name="+6/16" value="5"/>
44939f464c52Smaya      <value name="+7/16" value="6"/>
44949f464c52Smaya      <value name="+8/16" value="7"/>
44959f464c52Smaya    </field>
44969f464c52Smaya    <field name="Round Intra Enable" start="315" end="315" type="bool"/>
44979f464c52Smaya    <field name="Round Inter" start="316" end="318" type="uint">
44989f464c52Smaya      <value name="+1/16" value="0"/>
44999f464c52Smaya      <value name="+2/16" value="1"/>
45009f464c52Smaya      <value name="+3/16" value="2"/>
45019f464c52Smaya      <value name="+4/16" value="3"/>
45029f464c52Smaya      <value name="+5/16" value="4"/>
45039f464c52Smaya      <value name="+6/16" value="5"/>
45049f464c52Smaya      <value name="+7/16" value="6"/>
45059f464c52Smaya      <value name="+8/16" value="7"/>
45069f464c52Smaya    </field>
45079f464c52Smaya    <field name="Round Inter Enable" start="319" end="319" type="bool"/>
45089f464c52Smaya    <field name="CV0" start="320" end="323" type="uint"/>
45099f464c52Smaya    <field name="CV1" start="324" end="327" type="uint"/>
45109f464c52Smaya    <field name="CV2" start="328" end="331" type="uint"/>
45119f464c52Smaya    <field name="CV3" start="332" end="335" type="uint"/>
45129f464c52Smaya    <field name="CV4" start="336" end="339" type="uint"/>
45139f464c52Smaya    <field name="CV5" start="340" end="343" type="uint"/>
45149f464c52Smaya    <field name="CV6" start="344" end="347" type="uint"/>
45159f464c52Smaya    <field name="CV7" start="348" end="351" type="uint"/>
45169f464c52Smaya  </instruction>
45179f464c52Smaya
45189f464c52Smaya  <instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
45199f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="96"/>
45209f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
45219f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
45229f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
45239f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
45249f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
45259f464c52Smaya    <field name="Weight and Offset Select" start="32" end="32" type="uint">
45269f464c52Smaya      <value name="L0 table" value="0"/>
45279f464c52Smaya      <value name="L1 table" value="1"/>
45289f464c52Smaya    </field>
45299f464c52Smaya    <group count="96" start="64" size="32">
45309f464c52Smaya      <field name="Weight Offset" start="0" end="31" type="uint"/>
45319f464c52Smaya    </group>
45329f464c52Smaya  </instruction>
45339f464c52Smaya
45349f464c52Smaya  <instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
45359f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
45369f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
45379f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
45389f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
45399f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
45409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
45419f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="79" type="address"/>
45429f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
45439f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
45449f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Attributes" start="192" end="223" type="MEMORYADDRESSATTRIBUTES"/>
45459f464c52Smaya    <field name="Bitplane Read Buffer - Address" start="230" end="271" type="address"/>
45469f464c52Smaya    <field name="Bitplane Read Buffer - Attributes" start="288" end="319" type="MEMORYADDRESSATTRIBUTES"/>
45479f464c52Smaya  </instruction>
45489f464c52Smaya
45499f464c52Smaya  <instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
45509f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="11"/>
45519f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
45529f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
45539f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
45549f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
45559f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
45569f464c52Smaya    <field name="Pre Deblocking Source - Address" start="38" end="79" type="address"/>
45579f464c52Smaya    <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
45589f464c52Smaya    <field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
45599f464c52Smaya      <value name="Highest priority" value="0"/>
45609f464c52Smaya      <value name="Second highest priority" value="1"/>
45619f464c52Smaya      <value name="Third highest priority" value="2"/>
45629f464c52Smaya      <value name="Lowest priority" value="3"/>
45639f464c52Smaya    </field>
45649f464c52Smaya    <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
45659f464c52Smaya    <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
45669f464c52Smaya    <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
45679f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
45689f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
45699f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
45709f464c52Smaya    </field>
45719f464c52Smaya    <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
45729f464c52Smaya    <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
45739f464c52Smaya    <field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
45749f464c52Smaya      <value name="Highest priority" value="0"/>
45759f464c52Smaya      <value name="Second highest priority" value="1"/>
45769f464c52Smaya      <value name="Third highest priority" value="2"/>
45779f464c52Smaya      <value name="Lowest priority" value="3"/>
45789f464c52Smaya    </field>
45799f464c52Smaya    <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
45809f464c52Smaya    <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
45819f464c52Smaya    <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
45829f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
45839f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
45849f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
45859f464c52Smaya    </field>
45869f464c52Smaya    <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
45879f464c52Smaya    <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
45889f464c52Smaya    <field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
45899f464c52Smaya      <value name="Highest priority" value="0"/>
45909f464c52Smaya      <value name="Second highest priority" value="1"/>
45919f464c52Smaya      <value name="Third highest priority" value="2"/>
45929f464c52Smaya      <value name="Lowest priority" value="3"/>
45939f464c52Smaya    </field>
45949f464c52Smaya    <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
45959f464c52Smaya    <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
45969f464c52Smaya    <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
45979f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
45989f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
45999f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
46009f464c52Smaya    </field>
46019f464c52Smaya    <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
46029f464c52Smaya    <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
46039f464c52Smaya    <field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
46049f464c52Smaya      <value name="Highest priority" value="0"/>
46059f464c52Smaya      <value name="Second highest priority" value="1"/>
46069f464c52Smaya      <value name="Third highest priority" value="2"/>
46079f464c52Smaya      <value name="Lowest priority" value="3"/>
46089f464c52Smaya    </field>
46099f464c52Smaya    <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
46109f464c52Smaya    <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
46119f464c52Smaya    <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
46129f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
46139f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
46149f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
46159f464c52Smaya    </field>
46169f464c52Smaya  </instruction>
46179f464c52Smaya
46189f464c52Smaya  <instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
46199f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="32"/>
46209f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
46219f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
46229f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
46239f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
46249f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
46259f464c52Smaya    <field name="AVC" start="32" end="33" type="uint">
46269f464c52Smaya      <value name="AVC_4x4_Intra_MATRIX" value="0"/>
46279f464c52Smaya      <value name="AVC_4x4_Inter_MATRIX" value="1"/>
46289f464c52Smaya      <value name="AVC_8x8_Intra_MATRIX" value="2"/>
46299f464c52Smaya      <value name="AVC_8x8_Inter_MATRIX" value="3"/>
46309f464c52Smaya    </field>
46319f464c52Smaya    <field name="MPEG2" start="32" end="33" type="uint">
46329f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
46339f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
46349f464c52Smaya    </field>
46359f464c52Smaya    <field name="JPEG" start="32" end="33" type="uint">
46369f464c52Smaya      <value name="JPEG_Luma_Y_QUANTIZER_MATRIX (or R)" value="0"/>
46379f464c52Smaya      <value name="JPEG_Chroma_Cb_QUANTIZER_MATRIX (or G)" value="1"/>
46389f464c52Smaya      <value name="JPEG_Chroma_Cr_QUANTIZER_MATRIX (or B)" value="2"/>
46399f464c52Smaya    </field>
46409f464c52Smaya    <group count="64" start="64" size="8">
46419f464c52Smaya      <field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
46429f464c52Smaya    </group>
46439f464c52Smaya  </instruction>
46449f464c52Smaya
46459f464c52Smaya  <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
46469f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="24"/>
46479f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
46489f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
46499f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
46509f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
46519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
46529f464c52Smaya    <field name="MFX Indirect Bitstream Object - Address" start="32" end="95" type="address"/>
46539f464c52Smaya    <field name="MFX Indirect Bitstream Object - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
46549f464c52Smaya    <field name="MFX Indirect Bitstream Object - Upper Bound" start="128" end="191" type="address"/>
46559f464c52Smaya    <field name="MFX Indirect MV Object - Address" start="192" end="255" type="address"/>
46569f464c52Smaya    <field name="MFX Indirect MV Object - Attributes" start="256" end="287" type="MEMORYADDRESSATTRIBUTES"/>
46579f464c52Smaya    <field name="MFX Indirect MV Object - Upper Bound" start="288" end="351" type="address"/>
46589f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Address" start="352" end="415" type="address"/>
46599f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Attributes" start="416" end="447" type="MEMORYADDRESSATTRIBUTES"/>
46609f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Upper Bound" start="448" end="511" type="address"/>
46619f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Address" start="512" end="575" type="address"/>
46629f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Attributes" start="576" end="607" type="MEMORYADDRESSATTRIBUTES"/>
46639f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Upper Bound" start="608" end="671" type="address"/>
46649f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Address" start="672" end="735" type="address"/>
46659f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Attributes" start="736" end="767" type="MEMORYADDRESSATTRIBUTES"/>
46669f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Upper Bound" start="768" end="831" type="address"/>
46679f464c52Smaya  </instruction>
46689f464c52Smaya
46699f464c52Smaya  <instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
46709f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="829"/>
46719f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
46729f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
46739f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
46749f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
46759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
46769f464c52Smaya    <field name="Huffman Table ID" start="32" end="32" type="uint"/>
46779f464c52Smaya    <group count="12" start="64" size="8">
46789f464c52Smaya      <field name="DC_BITS" start="0" end="7" type="uint"/>
46799f464c52Smaya    </group>
46809f464c52Smaya    <group count="12" start="160" size="8">
46819f464c52Smaya      <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
46829f464c52Smaya    </group>
46839f464c52Smaya    <group count="16" start="256" size="8">
46849f464c52Smaya      <field name="AC_BITS" start="0" end="15" type="uint"/>
46859f464c52Smaya    </group>
46869f464c52Smaya    <group count="160" start="384" size="8">
46879f464c52Smaya      <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
46889f464c52Smaya    </group>
46899f464c52Smaya    <group count="2" start="1664" size="8">
46909f464c52Smaya      <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
46919f464c52Smaya    </group>
46929f464c52Smaya  </instruction>
46939f464c52Smaya
46949f464c52Smaya  <instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
46959f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
46969f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
46979f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
46989f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
46999f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
47009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
47019f464c52Smaya    <field name="Input Format YUV" start="32" end="34" type="uint"/>
47029f464c52Smaya    <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
47039f464c52Smaya      <value name="YUV400" value="0"/>
47049f464c52Smaya      <value name="YUV420" value="1"/>
47059f464c52Smaya      <value name="YUV422H_2Y" value="2"/>
47069f464c52Smaya      <value name="RGB" value="3"/>
47079f464c52Smaya    </field>
47089f464c52Smaya    <field name="Rotation" start="36" end="37" type="uint"/>
47099f464c52Smaya    <field name="Output Format YUV" start="40" end="43" type="uint"/>
47109f464c52Smaya    <field name="Input Surface Format YUV" start="40" end="43" type="uint" prefix="IS">
47119f464c52Smaya      <value name="NV12" value="1"/>
47129f464c52Smaya      <value name="UYVY" value="2"/>
47139f464c52Smaya      <value name="YUY2" value="3"/>
47149f464c52Smaya      <value name="Y8" value="4"/>
47159f464c52Smaya      <value name="RGB" value="5"/>
47169f464c52Smaya    </field>
47179f464c52Smaya    <field name="Average Down Sampling" start="48" end="48" type="uint"/>
47189f464c52Smaya    <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
47199f464c52Smaya    <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
47209f464c52Smaya    <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
47219f464c52Smaya    <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
47229f464c52Smaya    <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
47239f464c52Smaya    <field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
47249f464c52Smaya    <field name="Rounding Quant" start="77" end="79" type="uint"/>
47259f464c52Smaya    <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
47269f464c52Smaya    <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
47279f464c52Smaya  </instruction>
47289f464c52Smaya
47299f464c52Smaya  <instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
47309f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
47319f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
47329f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
47339f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
47349f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
47359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
47369f464c52Smaya    <field name="Scan Order" start="38" end="38" type="uint">
47379f464c52Smaya      <value name="MPEG_ZIGZAG_SCAN" value="0"/>
47389f464c52Smaya      <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
47399f464c52Smaya    </field>
47409f464c52Smaya    <field name="Intra VLC Format" start="39" end="39" type="uint"/>
47419f464c52Smaya    <field name="Quantizer Scale Type" start="40" end="40" type="uint">
47429f464c52Smaya      <value name="MPEG_QSCALE_LINEAR" value="0"/>
47439f464c52Smaya      <value name="MPEG_QSCALE_NONLINEAR" value="1"/>
47449f464c52Smaya    </field>
47459f464c52Smaya    <field name="Concealment MV" start="41" end="41" type="bool"/>
47469f464c52Smaya    <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
47479f464c52Smaya    <field name="Top Field First" start="43" end="43" type="bool"/>
47489f464c52Smaya    <field name="Picture Structure" start="44" end="45" type="uint">
47499f464c52Smaya      <value name="MPEG_TOP_FIELD" value="1"/>
47509f464c52Smaya      <value name="MPEG_BOTTOM_FIELD" value="2"/>
47519f464c52Smaya      <value name="MPEG_FRAME" value="3"/>
47529f464c52Smaya    </field>
47539f464c52Smaya    <field name="Intra DC Precision" start="46" end="47" type="uint"/>
47549f464c52Smaya    <field name="F_code[0][0]" start="48" end="51" type="uint"/>
47559f464c52Smaya    <field name="F_code[0][1]" start="52" end="55" type="uint"/>
47569f464c52Smaya    <field name="F_code[1][0]" start="56" end="59" type="uint"/>
47579f464c52Smaya    <field name="F_code[1][1]" start="60" end="63" type="uint"/>
47589f464c52Smaya    <field name="Disable Mismatch" start="64" end="64" type="bool"/>
47599f464c52Smaya    <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
47609f464c52Smaya    <field name="Picture Coding Type" start="73" end="74" type="uint">
47619f464c52Smaya      <value name="MPEG_I_PICTURE" value="1"/>
47629f464c52Smaya      <value name="MPEG_P_PICTURE" value="2"/>
47639f464c52Smaya      <value name="MPEG_B_PICTURE" value="3"/>
47649f464c52Smaya    </field>
47659f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
47669f464c52Smaya    <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
47679f464c52Smaya      <value name="Predicted" value="0"/>
47689f464c52Smaya      <value name="ZERO" value="1"/>
47699f464c52Smaya    </field>
47709f464c52Smaya    <field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
47719f464c52Smaya      <value name="BID" value="0"/>
47729f464c52Smaya      <value name="RESERVED" value="1"/>
47739f464c52Smaya      <value name="FWD" value="2"/>
47749f464c52Smaya      <value name="BWD" value="3"/>
47759f464c52Smaya    </field>
47769f464c52Smaya    <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
47779f464c52Smaya      <value name="INTER" value="0"/>
47789f464c52Smaya      <value name="LEFT" value="1"/>
47799f464c52Smaya      <value name="ZERO" value="2"/>
47809f464c52Smaya      <value name="INTRA" value="3"/>
47819f464c52Smaya    </field>
47829f464c52Smaya    <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
47839f464c52Smaya      <value name="Intra Concealment" value="0"/>
47849f464c52Smaya      <value name="Inter Concealment" value="1"/>
47859f464c52Smaya    </field>
47869f464c52Smaya    <field name="Frame Width In MBs" start="96" end="103" type="uint"/>
47879f464c52Smaya    <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
47889f464c52Smaya    <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
47899f464c52Smaya    <field name="Round Intra DC" start="129" end="130" type="uint"/>
47909f464c52Smaya    <field name="Round Inter DC" start="132" end="134" type="uint"/>
47919f464c52Smaya    <field name="Round Intra AC" start="136" end="138" type="uint"/>
47929f464c52Smaya    <field name="Round Inter AC," start="140" end="142" type="uint"/>
47939f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
47949f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
47959f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
47969f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
47979f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
47989f464c52Smaya    <field name="MBRateControlMask" start="169" end="169" type="uint"/>
47999f464c52Smaya    <field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="MPEG2_MFSU">
48009f464c52Smaya      <value name="Compatibility mode" value="0"/>
48019f464c52Smaya      <value name="16 bytes" value="1"/>
48029f464c52Smaya      <value name="4Kb" value="2"/>
48039f464c52Smaya      <value name="16Kb" value="3"/>
48049f464c52Smaya    </field>
48059f464c52Smaya    <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
48069f464c52Smaya    <field name="Frame Size Control" start="176" end="176" type="uint"/>
48079f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
48089f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
48099f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
48109f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
48119f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
48129f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
48139f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
48149f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
48159f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
48169f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
48179f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
48189f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
48199f464c52Smaya      <value name="Compatibility mode" value="0"/>
48209f464c52Smaya      <value name="New Mode" value="1"/>
48219f464c52Smaya    </field>
48229f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
48239f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
48249f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
48259f464c52Smaya      <value name="Compatibility mode" value="0"/>
48269f464c52Smaya      <value name="New mode" value="1"/>
48279f464c52Smaya    </field>
48289f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
48299f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
48309f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
48319f464c52Smaya  </instruction>
48329f464c52Smaya
48339f464c52Smaya  <instruction name="MFX_MPEG_TS_CONTROL command" bias="2" length="5" engine="video">
48349f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
48359f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="11"/>
48369f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
48379f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
48389f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
48399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
48409f464c52Smaya    <field name="Video PacketID Header Parameter" start="32" end="44" type="uint"/>
48419f464c52Smaya    <field name="StreamID Lower Nibble" start="52" end="55" type="uint"/>
48429f464c52Smaya    <field name="Output TS Packet Grouping Select" start="56" end="56" type="uint"/>
48439f464c52Smaya    <field name="Copy Right Flag In PES Header" start="57" end="57" type="uint"/>
48449f464c52Smaya    <field name="Original Or Flag In PES Header" start="58" end="58" type="uint"/>
48459f464c52Smaya    <field name="DSM Trick Mode Flag In PES Header" start="59" end="59" type="uint"/>
48469f464c52Smaya    <field name="Additional Copy Info Flag In PES Header" start="60" end="60" type="bool"/>
48479f464c52Smaya    <field name="Payload Unit Start Indicator Control" start="61" end="61" type="uint"/>
48489f464c52Smaya    <field name="PCR 90 KHz Component Least Significant Bits" start="64" end="95" type="uint"/>
48499f464c52Smaya    <field name="90KHz counter MSB" start="96" end="96" type="uint"/>
48509f464c52Smaya    <field name="27MHz Counter" start="119" end="127" type="uint"/>
48519f464c52Smaya    <field name="PTS Delta" start="128" end="159" type="uint"/>
48529f464c52Smaya    <field name="MPEGTS Packet Count" start="160" end="175" type="uint"/>
48539f464c52Smaya    <field name="Continuity Counter" start="188" end="191" type="uint"/>
48549f464c52Smaya  </instruction>
48559f464c52Smaya
48569f464c52Smaya  <instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
48579f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
48589f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
48599f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
48609f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
48619f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
48629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
48639f464c52Smaya    <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
48649f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
48659f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
48669f464c52Smaya    <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
48679f464c52Smaya    <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
48689f464c52Smaya    <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
48699f464c52Smaya    <field name="Slice Header Indicator" start="46" end="46" type="uint">
48709f464c52Smaya      <value name="SLICE_HEADER" value="1"/>
48719f464c52Smaya      <value name="LEGACY" value="0"/>
48729f464c52Smaya    </field>
48739f464c52Smaya    <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
48749f464c52Smaya      <value name="NO_ACCUMULATION" value="1"/>
48759f464c52Smaya      <value name="ACCUMULATE" value="0"/>
48769f464c52Smaya    </field>
48779f464c52Smaya    <field name="Data Byte Offset" start="48" end="49" type="uint"/>
48789f464c52Smaya    <group count="0" start="64" size="32">
48799f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
48809f464c52Smaya    </group>
48819f464c52Smaya  </instruction>
48829f464c52Smaya
48839f464c52Smaya  <instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="65" engine="video">
48849f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="63"/>
48859f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
48869f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
48879f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
48889f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
48899f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
48909f464c52Smaya    <field name="Pre Deblocking Destination - Address" start="38" end="79" type="address"/>
48919f464c52Smaya    <field name="Pre Deblocking Destination - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
48929f464c52Smaya    <field name="Post Deblocking Destination - Address" start="134" end="175" type="address"/>
48939f464c52Smaya    <field name="Post Deblocking Destination - Attributes" start="192" end="223" type="MEMORYADDRESSATTRIBUTES"/>
48949f464c52Smaya    <field name="Original Uncompressed Picture Source - Address" start="230" end="271" type="address"/>
48959f464c52Smaya    <field name="Original Uncompressed Picture Source - Attributes" start="288" end="319" type="MEMORYADDRESSATTRIBUTES"/>
48969f464c52Smaya    <field name="Stream-Out Data Destination - Address" start="326" end="367" type="address"/>
48979f464c52Smaya    <field name="Stream-Out Data Destination - Attributes" start="384" end="415" type="MEMORYADDRESSATTRIBUTES"/>
48989f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Address" start="422" end="463" type="address"/>
48999f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Attributes" start="480" end="511" type="MEMORYADDRESSATTRIBUTES"/>
49009f464c52Smaya    <field name="Deblocking Filter Row Store Scratch - Address" start="518" end="559" type="address"/>
49019f464c52Smaya    <field name="Deblocking Filter Row Store Scratch - Attributes" start="576" end="607" type="MEMORYADDRESSATTRIBUTES"/>
49029f464c52Smaya    <group count="16" start="608" size="64">
49039f464c52Smaya      <field name="Reference Picture - Address" start="0" end="63" type="address"/>
49049f464c52Smaya    </group>
49059f464c52Smaya    <field name="Reference Picture - Attributes" start="1632" end="1663" type="MEMORYADDRESSATTRIBUTES"/>
49069f464c52Smaya    <field name="MB Status Buffer - Address" start="1670" end="1711" type="address"/>
49079f464c52Smaya    <field name="MB Status Buffer - Attributes" start="1728" end="1759" type="MEMORYADDRESSATTRIBUTES"/>
49089f464c52Smaya    <field name="MB ILDB Stream-Out Buffer - Address" start="1766" end="1807" type="address"/>
49099f464c52Smaya    <field name="MB ILDB Stream-Out Buffer - Attributes" start="1824" end="1855" type="MEMORYADDRESSATTRIBUTES"/>
49109f464c52Smaya    <field name="Second MB ILDB Stream-Out Buffer - Address" start="1862" end="1903" type="address"/>
49119f464c52Smaya    <field name="Second MB ILDB Stream-Out Buffer - Attributes" start="1920" end="1951" type="MEMORYADDRESSATTRIBUTES"/>
49129f464c52Smaya    <group count="16" start="1952" size="2">
49139f464c52Smaya      <field name="Reference Picture - Memory Compression Mode" start="1" end="1" type="uint"/>
49149f464c52Smaya      <field name="Reference Picture - Memory Compression Enable" start="0" end="0" type="bool"/>
49159f464c52Smaya    </group>
49169f464c52Smaya    <field name="Scaled Reference Surface - Address" start="1990" end="2031" type="address"/>
49179f464c52Smaya    <field name="Scaled Reference Surface - Attributes" start="2048" end="2079" type="MEMORYADDRESSATTRIBUTES"/>
49189f464c52Smaya    <field name="SliceSize Stream-Out Data Destination - Address" start="2086" end="2127" type="address"/>
49199f464c52Smaya    <field name="SliceSize Stream-Out Data Destination - Attributes" start="2144" end="2175" type="MEMORYADDRESSATTRIBUTES"/>
49209f464c52Smaya  </instruction>
49219f464c52Smaya
49229f464c52Smaya  <instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
49239f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
49249f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
49259f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
49269f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
49279f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
49289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
49299f464c52Smaya    <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
49309f464c52Smaya      <value name="MPEG2" value="0"/>
49319f464c52Smaya      <value name="VC1" value="1"/>
49329f464c52Smaya      <value name="AVC" value="2"/>
49339f464c52Smaya      <value name="JPEG" value="3"/>
49349f464c52Smaya      <value name="VP8" value="5"/>
49359f464c52Smaya      <value name="UVLD" value="15"/>
49369f464c52Smaya    </field>
49379f464c52Smaya    <field name="Codec Select" start="36" end="36" type="uint">
49389f464c52Smaya      <value name="Decode" value="0"/>
49399f464c52Smaya      <value name="Encode" value="1"/>
49409f464c52Smaya    </field>
49419f464c52Smaya    <field name="Stitch Mode" start="37" end="37" type="bool"/>
49429f464c52Smaya    <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
49439f464c52Smaya    <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
49449f464c52Smaya    <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
49459f464c52Smaya    <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
49469f464c52Smaya    <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
49479f464c52Smaya    <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
49489f464c52Smaya    <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
49499f464c52Smaya    <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
49509f464c52Smaya      <value name="MBEnc Mode" value="0"/>
49519f464c52Smaya      <value name="VDEnc Mode" value="1"/>
49529f464c52Smaya    </field>
49539f464c52Smaya    <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
49549f464c52Smaya    <field name="Decoder Mode select" start="47" end="48" type="uint">
49559f464c52Smaya      <value name="VLD Mode" value="0"/>
49569f464c52Smaya      <value name="IT Mode" value="1"/>
49579f464c52Smaya      <value name="Deblocker Mode" value="2"/>
49589f464c52Smaya      <value name="Interlayer Mode" value="3"/>
49599f464c52Smaya    </field>
49609f464c52Smaya    <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
49619f464c52Smaya      <value name="Short Format Driver Interface" value="0"/>
49629f464c52Smaya      <value name="Long Format Driver Interface" value="1"/>
49639f464c52Smaya    </field>
49649f464c52Smaya    <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
49659f464c52Smaya    <field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
49669f464c52Smaya  </instruction>
49679f464c52Smaya
49689f464c52Smaya  <instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
49699f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="32"/>
49709f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
49719f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
49729f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
49739f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
49749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
49759f464c52Smaya    <field name="AVC" start="32" end="33" type="uint">
49769f464c52Smaya      <value name="AVC_4x4_Intra_MATRIX" value="0"/>
49779f464c52Smaya      <value name="AVC_4x4_Inter_MATRIX" value="1"/>
49789f464c52Smaya      <value name="AVC_8x8_Intra_MATRIX" value="2"/>
49799f464c52Smaya      <value name="AVC_8x8_Inter_MATRIX" value="3"/>
49809f464c52Smaya    </field>
49819f464c52Smaya    <field name="MPEG2" start="32" end="33" type="uint">
49829f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
49839f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
49849f464c52Smaya    </field>
49859f464c52Smaya    <field name="JPEG" start="32" end="33" type="uint">
49869f464c52Smaya      <value name="JPEG_Luma_Y_QUANTIZER_MATRIX (or R)" value="0"/>
49879f464c52Smaya      <value name="JPEG_Chroma_Cb_QUANTIZER_MATRIX (or G)" value="1"/>
49889f464c52Smaya      <value name="JPEG_Chroma_Cr_QUANTIZER_MATRIX (or B)" value="2"/>
49899f464c52Smaya    </field>
49909f464c52Smaya    <group count="64" start="64" size="8">
49919f464c52Smaya      <field name="Forward Quantizer 8x8" start="0" end="7" type="uint"/>
49929f464c52Smaya    </group>
49939f464c52Smaya  </instruction>
49949f464c52Smaya
49959f464c52Smaya  <instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
49969f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
49979f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
49989f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
49999f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
50009f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
50019f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
50029f464c52Smaya    <field name="State Pointer Index" start="32" end="33" type="uint"/>
50039f464c52Smaya    <field name="State Pointer" start="37" end="63" type="uint"/>
50049f464c52Smaya  </instruction>
50059f464c52Smaya
50069f464c52Smaya  <instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
50079f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
50089f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
50099f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
50109f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
50119f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
50129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
50139f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
50149f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
50159f464c52Smaya    <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
50169f464c52Smaya    <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
50179f464c52Smaya    <field name="Indirect Data Length" start="64" end="82" type="uint"/>
50189f464c52Smaya    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
50199f464c52Smaya    <group count="0" start="128" size="32">
50209f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
50219f464c52Smaya    </group>
50229f464c52Smaya  </instruction>
50239f464c52Smaya
50249f464c52Smaya  <instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
50259f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
50269f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
50279f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
50289f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
50299f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
50309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
50319f464c52Smaya    <field name="Surface ID" start="32" end="35" type="uint" prefix="MFX">
50329f464c52Smaya      <value name="Source Input Picture" value="4"/>
50339f464c52Smaya      <value name="Reconstructed Scaled Reference Picture" value="5"/>
50349f464c52Smaya    </field>
50359f464c52Smaya    <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="u0.2"/>
50369f464c52Smaya    <field name="Width" start="68" end="81" type="uint"/>
50379f464c52Smaya    <field name="Height" start="82" end="95" type="uint"/>
50389f464c52Smaya    <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
50399f464c52Smaya      <value name="XMAJOR" value="0"/>
50409f464c52Smaya      <value name="YMAJOR" value="1"/>
50419f464c52Smaya    </field>
50429f464c52Smaya    <field name="Tiled Surface" start="97" end="97" type="bool"/>
50439f464c52Smaya    <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
50449f464c52Smaya    <field name="Surface Pitch" start="99" end="115" type="uint"/>
50459f464c52Smaya    <field name="Interleave Chroma" start="123" end="123" type="bool"/>
50469f464c52Smaya    <field name="Surface Format" start="124" end="127" type="uint" prefix="MFX">
50479f464c52Smaya      <value name="YCRCB_NORMAL" value="0"/>
50489f464c52Smaya      <value name="YCRCB_SWAPUVY" value="1"/>
50499f464c52Smaya      <value name="YCRCB_SWAPUV" value="2"/>
50509f464c52Smaya      <value name="YCRCB_SWAPY" value="3"/>
50519f464c52Smaya      <value name="PLANAR_420_8" value="4"/>
50529f464c52Smaya      <value name="PLANAR_411_8" value="5"/>
50539f464c52Smaya      <value name="PLANAR_422_8" value="6"/>
50549f464c52Smaya      <value name="STMM_DN_STATISTICS" value="7"/>
50559f464c52Smaya      <value name="R10G10B10A2_UNORM" value="8"/>
50569f464c52Smaya      <value name="R8G8B8A8_UNORM" value="9"/>
50579f464c52Smaya      <value name="R8B8_UNORM (CrCb)" value="10"/>
50589f464c52Smaya      <value name="R8_UNORM (Cr/Cb)" value="11"/>
50599f464c52Smaya      <value name="Y8_UNORM" value="12"/>
50609f464c52Smaya    </field>
50619f464c52Smaya    <field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
50629f464c52Smaya    <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
50639f464c52Smaya    <field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
50649f464c52Smaya    <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
50659f464c52Smaya  </instruction>
50669f464c52Smaya
50679f464c52Smaya  <instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
50689f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="5"/>
50699f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
50709f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
50719f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
50729f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
50739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
50749f464c52Smaya    <field name="Direct MV Write Buffer - Address" start="32" end="95" type="address"/>
50759f464c52Smaya    <field name="Direct MV Write Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
50769f464c52Smaya    <field name="Direct MV Read Buffer - Address" start="128" end="191" type="address"/>
50779f464c52Smaya    <field name="Direct MV Read Buffer - Attributes" start="192" end="223" type="MEMORYADDRESSATTRIBUTES"/>
50789f464c52Smaya  </instruction>
50799f464c52Smaya
50809f464c52Smaya  <instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
50819f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
50829f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
50839f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
50849f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
50859f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
50869f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
50879f464c52Smaya    <field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
50889f464c52Smaya    <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
50899f464c52Smaya    <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
50909f464c52Smaya    <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
50919f464c52Smaya    <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
50929f464c52Smaya    <field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
50939f464c52Smaya    <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
50949f464c52Smaya    <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
50959f464c52Smaya    <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
50969f464c52Smaya    <field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
50979f464c52Smaya    <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
50989f464c52Smaya    <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
50999f464c52Smaya    <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
51009f464c52Smaya    <field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
51019f464c52Smaya    <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
51029f464c52Smaya    <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
51039f464c52Smaya    <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
51049f464c52Smaya    <field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
51059f464c52Smaya    <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
51069f464c52Smaya    <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
51079f464c52Smaya    <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
51089f464c52Smaya  </instruction>
51099f464c52Smaya
51109f464c52Smaya  <instruction name="MFX_VP8_BSP_BUF_BASE_ADDR_STATE" bias="2" length="2" engine="video">
51119f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
51129f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
51139f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
51149f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
51159f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
51169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
51179f464c52Smaya    <field name="Frame Header - Address" start="32" end="95" type="address"/>
51189f464c52Smaya    <field name="Frame Header - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
51199f464c52Smaya    <field name="Intermediate Buffer - Address" start="128" end="191" type="address"/>
51209f464c52Smaya    <field name="Intermediate Buffer - Attributes" start="192" end="223" type="MEMORYADDRESSATTRIBUTES"/>
51219f464c52Smaya    <field name="Intermediate Buffer Partition Offset" start="224" end="479" type="uint"/>
51229f464c52Smaya    <field name="Intermediate Buffer Max Size" start="480" end="511" type="uint"/>
51239f464c52Smaya    <field name="Final Frame - Address" start="512" end="575" type="address"/>
51249f464c52Smaya    <field name="Final Frame - Attributes" start="576" end="607" type="MEMORYADDRESSATTRIBUTES"/>
51259f464c52Smaya    <field name="Final Frame Byte Offset" start="608" end="613" type="uint"/>
51269f464c52Smaya    <field name="Stream-Out - Address" start="640" end="703" type="address"/>
51279f464c52Smaya    <field name="Stream-Out - Attributes" start="704" end="735" type="MEMORYADDRESSATTRIBUTES"/>
51289f464c52Smaya    <field name="Coeff Probs Stream-In Surface - Address" start="736" end="799" type="address"/>
51299f464c52Smaya    <field name="Coeff Probs Stream-In Surface - Attributes" start="800" end="831" type="MEMORYADDRESSATTRIBUTES"/>
51309f464c52Smaya    <field name="Token Statistics Surface - Address" start="832" end="895" type="address"/>
51319f464c52Smaya    <field name="Token Statistics Surface - Attributes" start="896" end="927" type="MEMORYADDRESSATTRIBUTES"/>
51329f464c52Smaya    <field name="MPC Row Store Surface - Address" start="928" end="991" type="address"/>
51339f464c52Smaya    <field name="MPC Row Store Surface - Attributes" start="992" end="1023" type="MEMORYADDRESSATTRIBUTES"/>
51349f464c52Smaya  </instruction>
51359f464c52Smaya
51369f464c52Smaya  <instruction name="MFX_VP8_ENCODER_CFG" bias="2" length="2" engine="video">
51379f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
51389f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
51399f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
51409f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
51419f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
51429f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
51439f464c52Smaya    <field name="Performance Counter Enable" start="32" end="32" type="bool"/>
51449f464c52Smaya    <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
51459f464c52Smaya    <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
51469f464c52Smaya    <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
51479f464c52Smaya    <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
51489f464c52Smaya    <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
51499f464c52Smaya    <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
51509f464c52Smaya    <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
51519f464c52Smaya    <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
51529f464c52Smaya    <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
51539f464c52Smaya    <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
51549f464c52Smaya    <field name="Max Frame Bit count Rate Control Enable" start="64" end="64" type="bool"/>
51559f464c52Smaya    <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
51569f464c52Smaya    <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
51579f464c52Smaya    <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
51589f464c52Smaya    <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
51599f464c52Smaya    <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
51609f464c52Smaya    <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
51619f464c52Smaya    <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
51629f464c52Smaya    <field name="Max Inter MB Bit Count" start="96" end="107" type="uint"/>
51639f464c52Smaya    <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
51649f464c52Smaya    <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
51659f464c52Smaya    <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
51669f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
51679f464c52Smaya      <value name="Compatibility Mode" value="0"/>
51689f464c52Smaya      <value name="New Mode" value="1"/>
51699f464c52Smaya    </field>
51709f464c52Smaya    <field name="Frame Bitrate Min" start="144" end="157" type="uint"/>
51719f464c52Smaya    <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
51729f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
51739f464c52Smaya      <value name="Compatibility Mode" value="0"/>
51749f464c52Smaya      <value name="New Mode" value="1"/>
51759f464c52Smaya    </field>
51769f464c52Smaya    <field name="Frame Delta QIndex Max[0]" start="160" end="167" type="uint"/>
51779f464c52Smaya    <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
51789f464c52Smaya    <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
51799f464c52Smaya    <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
51809f464c52Smaya    <field name="Frame Delta QIndex Min[0]" start="192" end="199" type="uint"/>
51819f464c52Smaya    <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
51829f464c52Smaya    <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
51839f464c52Smaya    <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
51849f464c52Smaya    <field name="Per Segment Frame Delta QIndex Max[1]" start="224" end="255" type="uint"/>
51859f464c52Smaya    <field name="Per Segment Frame Delta QIndex Min[1]" start="256" end="287" type="uint"/>
51869f464c52Smaya    <field name="Per Segment Frame Delta QIndex Max[2]" start="288" end="319" type="uint"/>
51879f464c52Smaya    <field name="Per Segment Frame Delta QIndex Min[2]" start="320" end="351" type="uint"/>
51889f464c52Smaya    <field name="Per Segment Frame Delta QIndex Max[3]" start="352" end="383" type="uint"/>
51899f464c52Smaya    <field name="Per Segment Frame Delta QIndex Min[3]" start="384" end="415" type="uint"/>
51909f464c52Smaya    <field name="Frame Delta Loop Filter Max[0]" start="416" end="423" type="uint"/>
51919f464c52Smaya    <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
51929f464c52Smaya    <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
51939f464c52Smaya    <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
51949f464c52Smaya    <field name="Frame Delta Loop Filter Min[0]" start="448" end="455" type="uint"/>
51959f464c52Smaya    <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
51969f464c52Smaya    <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
51979f464c52Smaya    <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
51989f464c52Smaya    <field name="Per Segment Frame Delta Loop Filter Max[1]" start="480" end="511" type="uint"/>
51999f464c52Smaya    <field name="Per Segment Frame Delta Loop Filter Min[1]" start="512" end="543" type="uint"/>
52009f464c52Smaya    <field name="Per Segment Frame Delta Loop Filter Max[2]" start="544" end="575" type="uint"/>
52019f464c52Smaya    <field name="Per Segment Frame Delta Loop Filter Min[2]" start="576" end="607" type="uint"/>
52029f464c52Smaya    <field name="Per Segment Frame Delta Loop Filter Max[3]" start="608" end="639" type="uint"/>
52039f464c52Smaya    <field name="Per Segment Frame Delta Loop Filter Min[3]" start="640" end="671" type="uint"/>
52049f464c52Smaya    <field name="Frame Bitrate Max Delta" start="672" end="686" type="uint"/>
52059f464c52Smaya    <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
52069f464c52Smaya    <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
52079f464c52Smaya    <field name="Minimum Frame Size Unit" start="720" end="721" type="uint">
52089f464c52Smaya      <value name="Compatibility Mode" value="0"/>
52099f464c52Smaya      <value name="New Mode" value="1"/>
52109f464c52Smaya    </field>
52119f464c52Smaya    <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
52129f464c52Smaya    <field name="Show Frame" start="727" end="727" type="uint"/>
52139f464c52Smaya    <field name="Horizontal_Size_Code" start="736" end="751" type="uint"/>
52149f464c52Smaya    <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
52159f464c52Smaya    <field name="Frame Header Bit Count" start="768" end="799" type="uint"/>
52169f464c52Smaya    <field name="Frame Header Bin Buffer QIndex Update Pointer" start="800" end="831" type="uint"/>
52179f464c52Smaya    <field name="Frame Header Bin Buffer Loop Filter Update Pointer" start="832" end="863" type="uint"/>
52189f464c52Smaya    <field name="Frame Header Bin Buffer Token Update Pointer" start="864" end="895" type="uint"/>
52199f464c52Smaya    <field name="Frame Header Bin Buffer MV Update Pointer" start="896" end="927" type="uint"/>
52209f464c52Smaya    <field name="CV0" start="928" end="931" type="uint"/>
52219f464c52Smaya    <field name="CV1" start="932" end="935" type="uint"/>
52229f464c52Smaya    <field name="CV2" start="936" end="939" type="uint"/>
52239f464c52Smaya    <field name="CV3" start="940" end="943" type="uint"/>
52249f464c52Smaya    <field name="CV4" start="944" end="947" type="uint"/>
52259f464c52Smaya    <field name="CV5" start="948" end="951" type="uint"/>
52269f464c52Smaya    <field name="CV6" start="952" end="955" type="uint"/>
52279f464c52Smaya    <field name="CV7" start="956" end="959" type="uint"/>
52289f464c52Smaya  </instruction>
52299f464c52Smaya
52309f464c52Smaya  <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
52319f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="5"/>
52329f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
52339f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
52349f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
52359f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
52369f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
52379f464c52Smaya    <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
52389f464c52Smaya    <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
52399f464c52Smaya    <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
52409f464c52Smaya    <field name="Inline Data" start="96" end="223" type="uint"/>
52419f464c52Smaya  </instruction>
52429f464c52Smaya
52439f464c52Smaya  <instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video">
52449f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
52459f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
52469f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
52479f464c52Smaya    <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
52489f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
52499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
52509f464c52Smaya    <field name="Frame Width" start="32" end="39" type="uint"/>
52519f464c52Smaya    <field name="Frame Height" start="48" end="55" type="uint"/>
52529f464c52Smaya    <field name="MC Filter Select" start="64" end="64" type="uint"/>
52539f464c52Smaya    <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
52549f464c52Smaya    <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
52559f464c52Smaya    <field name="Key Frame" start="69" end="69" type="bool"/>
52569f464c52Smaya    <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
52579f464c52Smaya    <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
52589f464c52Smaya    <field name="Segment Enable" start="72" end="72" type="bool"/>
52599f464c52Smaya    <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
52609f464c52Smaya    <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
52619f464c52Smaya    <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
52629f464c52Smaya    <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
52639f464c52Smaya    <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
52649f464c52Smaya    <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
52659f464c52Smaya    <field name="Log2 Num of Partition" start="88" end="89" type="uint">
52669f464c52Smaya      <value name="1 Token partition" value="0"/>
52679f464c52Smaya      <value name="2 Token partition" value="1"/>
52689f464c52Smaya      <value name="4 Token partition" value="2"/>
52699f464c52Smaya      <value name="8 Token partition" value="3"/>
52709f464c52Smaya    </field>
52719f464c52Smaya    <field name="DBLK Filter Level for Segment0" start="96" end="101" type="uint"/>
52729f464c52Smaya    <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
52739f464c52Smaya    <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
52749f464c52Smaya    <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
52759f464c52Smaya    <field name="Segment0 QIndex" start="128" end="134" type="uint"/>
52769f464c52Smaya    <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
52779f464c52Smaya    <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
52789f464c52Smaya    <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
52799f464c52Smaya    <field name="Y2DC QIndex Delta" start="160" end="163" type="uint"/>
52809f464c52Smaya    <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
52819f464c52Smaya    <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
52829f464c52Smaya    <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
52839f464c52Smaya    <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
52849f464c52Smaya    <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
52859f464c52Smaya    <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
52869f464c52Smaya    <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
52879f464c52Smaya    <field name="Y1DC QIndex Delta" start="192" end="195" type="uint"/>
52889f464c52Smaya    <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
52899f464c52Smaya    <field name="Clamp QIndex Low" start="224" end="230" type="uint"/>
52909f464c52Smaya    <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
52919f464c52Smaya    <field name="Quantizer Value [1][UVDC]" start="256" end="264" type="uint"/>
52929f464c52Smaya    <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
52939f464c52Smaya    <field name="Quantizer Value [1][Y2DC]" start="288" end="296" type="uint"/>
52949f464c52Smaya    <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
52959f464c52Smaya    <field name="Quantizer Value [2][Y1DC]" start="320" end="328" type="uint"/>
52969f464c52Smaya    <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
52979f464c52Smaya    <field name="Quantizer Value [2][UVDC]" start="352" end="360" type="uint"/>
52989f464c52Smaya    <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
52999f464c52Smaya    <field name="Quantizer Value [2][Y2DC]" start="384" end="392" type="uint"/>
53009f464c52Smaya    <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
53019f464c52Smaya    <field name="Quantizer Value [3][Y1DC]" start="416" end="424" type="uint"/>
53029f464c52Smaya    <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
53039f464c52Smaya    <field name="Quantizer Value [3][UVDC]" start="448" end="456" type="uint"/>
53049f464c52Smaya    <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
53059f464c52Smaya    <field name="Quantizer Value [3][Y2DC]" start="480" end="488" type="uint"/>
53069f464c52Smaya    <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
53079f464c52Smaya    <field name="CoeffProbability Stream-In - Address" start="518" end="559" type="uint"/>
53089f464c52Smaya    <field name="CoeffProbability Stream-In - MOCS (Encoder only)" start="577" end="582" type="uint"/>
53099f464c52Smaya    <field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
53109f464c52Smaya      <value name="Highest priority" value="0"/>
53119f464c52Smaya      <value name="Second highest priority" value="1"/>
53129f464c52Smaya      <value name="Third highest priority" value="2"/>
53139f464c52Smaya      <value name="Lowest priority" value="3"/>
53149f464c52Smaya    </field>
53159f464c52Smaya    <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
53169f464c52Smaya    <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
53179f464c52Smaya    <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
53189f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
53199f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
53209f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
53219f464c52Smaya    </field>
53229f464c52Smaya    <field name="MBSegmentIDTreeProbs[0]" start="608" end="615" type="uint"/>
53239f464c52Smaya    <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
53249f464c52Smaya    <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
53259f464c52Smaya    <field name="InterPredFromGRefRefProb" start="640" end="647" type="uint"/>
53269f464c52Smaya    <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
53279f464c52Smaya    <field name="IntraMBProb" start="656" end="663" type="uint"/>
53289f464c52Smaya    <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
53299f464c52Smaya    <field name="YModeProb[0]" start="672" end="679" type="uint"/>
53309f464c52Smaya    <field name="YModeProb[1]" start="680" end="687" type="uint"/>
53319f464c52Smaya    <field name="YModeProb[2]" start="688" end="695" type="uint"/>
53329f464c52Smaya    <field name="YModeProb[3]" start="696" end="703" type="uint"/>
53339f464c52Smaya    <field name="UVModeProb[0]" start="704" end="711" type="uint"/>
53349f464c52Smaya    <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
53359f464c52Smaya    <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
53369f464c52Smaya    <field name="MVUpdateProbs[0][0]" start="736" end="743" type="uint"/>
53379f464c52Smaya    <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
53389f464c52Smaya    <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
53399f464c52Smaya    <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
53409f464c52Smaya    <field name="MVUpdateProbs[0][4]" start="768" end="775" type="uint"/>
53419f464c52Smaya    <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
53429f464c52Smaya    <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
53439f464c52Smaya    <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
53449f464c52Smaya    <field name="MVUpdateProbs[0][8]" start="800" end="807" type="uint"/>
53459f464c52Smaya    <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
53469f464c52Smaya    <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
53479f464c52Smaya    <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
53489f464c52Smaya    <field name="MVUpdateProbs[0][12]" start="832" end="839" type="uint"/>
53499f464c52Smaya    <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
53509f464c52Smaya    <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
53519f464c52Smaya    <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
53529f464c52Smaya    <field name="MVUpdateProbs[0][16]" start="864" end="871" type="uint"/>
53539f464c52Smaya    <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
53549f464c52Smaya    <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
53559f464c52Smaya    <field name="MVUpdateProbs[1][0]" start="896" end="903" type="uint"/>
53569f464c52Smaya    <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
53579f464c52Smaya    <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
53589f464c52Smaya    <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
53599f464c52Smaya    <field name="MVUpdateProbs[1][4]" start="928" end="935" type="uint"/>
53609f464c52Smaya    <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
53619f464c52Smaya    <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
53629f464c52Smaya    <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
53639f464c52Smaya    <field name="MVUpdateProbs[1][8]" start="960" end="967" type="uint"/>
53649f464c52Smaya    <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
53659f464c52Smaya    <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
53669f464c52Smaya    <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
53679f464c52Smaya    <field name="MVUpdateProbs[1][12]" start="992" end="999" type="uint"/>
53689f464c52Smaya    <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
53699f464c52Smaya    <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
53709f464c52Smaya    <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
53719f464c52Smaya    <field name="MVUpdateProbs[1][16]" start="1024" end="1031" type="uint"/>
53729f464c52Smaya    <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
53739f464c52Smaya    <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
53749f464c52Smaya    <field name="RefLFDelta0" start="1056" end="1062" type="int"/>
53759f464c52Smaya    <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
53769f464c52Smaya    <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
53779f464c52Smaya    <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
53789f464c52Smaya    <field name="ModeLFDelta0" start="1088" end="1094" type="int"/>
53799f464c52Smaya    <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
53809f464c52Smaya    <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
53819f464c52Smaya    <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
53829f464c52Smaya    <field name="Segmentation ID Stream - Address" start="1120" end="1167" type="uint"/>
53839f464c52Smaya    <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
53849f464c52Smaya    <field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
53859f464c52Smaya      <value name="Highest priority" value="0"/>
53869f464c52Smaya      <value name="Second highest priority" value="1"/>
53879f464c52Smaya      <value name="Third highest priority" value="2"/>
53889f464c52Smaya      <value name="Lowest priority" value="3"/>
53899f464c52Smaya    </field>
53909f464c52Smaya    <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
53919f464c52Smaya    <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
53929f464c52Smaya    <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
53939f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
53949f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
53959f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
53969f464c52Smaya    </field>
53979f464c52Smaya  </instruction>
53989f464c52Smaya
53999f464c52Smaya  <instruction name="MFX_WAIT" bias="1" length="1" engine="video">
54009f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
54019f464c52Smaya    <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
54029f464c52Smaya    <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
54039f464c52Smaya    <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
54049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
540501e04c3fSmrg  </instruction>
540601e04c3fSmrg
540701e04c3fSmrg  <instruction name="MI_ARB_CHECK" bias="1" length="1">
540801e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
54099f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
541001e04c3fSmrg  </instruction>
541101e04c3fSmrg
541201e04c3fSmrg  <instruction name="MI_ARB_ON_OFF" bias="1" length="1">
541301e04c3fSmrg    <field name="Arbitration Enable" start="0" end="0" type="bool" default="1"/>
54149f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
54159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
541601e04c3fSmrg  </instruction>
541701e04c3fSmrg
541801e04c3fSmrg  <instruction name="MI_ATOMIC" bias="2" length="3">
54199f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
54209f464c52Smaya    <field name="ATOMIC OPCODE" start="8" end="15" type="Atomic_OPCODE"/>
54219f464c52Smaya    <field name="Return Data Control" start="16" end="16" type="bool"/>
54229f464c52Smaya    <field name="CS STALL" start="17" end="17" type="bool"/>
54239f464c52Smaya    <field name="Inline Data" start="18" end="18" type="bool"/>
54249f464c52Smaya    <field name="Data Size" start="19" end="20" type="uint" prefix="MI_ATOMIC">
542501e04c3fSmrg      <value name="DWORD" value="0"/>
542601e04c3fSmrg      <value name="QWORD" value="1"/>
542701e04c3fSmrg      <value name="OCTWORD" value="2"/>
542801e04c3fSmrg      <value name="RESERVED" value="3"/>
542901e04c3fSmrg    </field>
54309f464c52Smaya    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
54319f464c52Smaya    <field name="Memory Type" start="22" end="22" type="uint">
54329f464c52Smaya      <value name="Per Process Graphics Address" value="0"/>
54339f464c52Smaya      <value name="Global Graphics Address" value="1"/>
54349f464c52Smaya    </field>
54359f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
54369f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
543701e04c3fSmrg    <field name="Memory Address" start="34" end="79" type="address"/>
543801e04c3fSmrg    <field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
543901e04c3fSmrg    <field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
544001e04c3fSmrg    <field name="Operand1 Data Dword 1" start="160" end="191" type="uint"/>
544101e04c3fSmrg    <field name="Operand2 Data Dword 1" start="192" end="223" type="uint"/>
544201e04c3fSmrg    <field name="Operand1 Data Dword 2" start="224" end="255" type="uint"/>
544301e04c3fSmrg    <field name="Operand2 Data Dword 2" start="256" end="287" type="uint"/>
544401e04c3fSmrg    <field name="Operand1 Data Dword 3" start="288" end="319" type="uint"/>
544501e04c3fSmrg    <field name="Operand2 Data Dword 3" start="320" end="351" type="uint"/>
544601e04c3fSmrg  </instruction>
544701e04c3fSmrg
544801e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
544901e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
54509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
545101e04c3fSmrg  </instruction>
545201e04c3fSmrg
545301e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
54549f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
545501e04c3fSmrg    <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
545601e04c3fSmrg      <value name="GGTT" value="0"/>
545701e04c3fSmrg      <value name="PPGTT" value="1"/>
545801e04c3fSmrg    </field>
54599f464c52Smaya    <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
54609f464c52Smaya    <field name="Predication Enable" start="15" end="15" type="bool"/>
54619f464c52Smaya    <field name="Add Offset Enable" start="16" end="16" type="bool"/>
54629f464c52Smaya    <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
54639f464c52Smaya      <value name="First level batch" value="0"/>
54649f464c52Smaya      <value name="Second level batch" value="1"/>
54659f464c52Smaya    </field>
54669f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
54679f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
546801e04c3fSmrg    <field name="Batch Buffer Start Address" start="34" end="95" type="address"/>
546901e04c3fSmrg  </instruction>
547001e04c3fSmrg
54719f464c52Smaya  <instruction name="MI_CLFLUSH" bias="2" engine="render">
547201e04c3fSmrg    <field name="DWord Length" start="0" end="9" type="uint" default="1"/>
54739f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
54749f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
54759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
547601e04c3fSmrg    <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
54779f464c52Smaya    <field name="Page Base Address" start="44" end="79" type="address"/>
547801e04c3fSmrg    <group count="0" start="96" size="32">
547901e04c3fSmrg      <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
548001e04c3fSmrg    </group>
548101e04c3fSmrg  </instruction>
548201e04c3fSmrg
548301e04c3fSmrg  <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="4">
54849f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
548501e04c3fSmrg    <field name="Compare Mask Mode" start="19" end="19" type="uint">
548601e04c3fSmrg      <value name="Compare Mask Mode Disabled" value="0"/>
548701e04c3fSmrg      <value name="Compare Mask Mode Enabled" value="1"/>
548801e04c3fSmrg    </field>
54899f464c52Smaya    <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
54909f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
54919f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
54929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
549301e04c3fSmrg    <field name="Compare Data Dword" start="32" end="63" type="uint"/>
549401e04c3fSmrg    <field name="Compare Address" start="67" end="127" type="address"/>
549501e04c3fSmrg  </instruction>
549601e04c3fSmrg
549701e04c3fSmrg  <instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
549801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
54999f464c52Smaya    <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
55009f464c52Smaya    <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
55019f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
55029f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
550301e04c3fSmrg    <field name="Destination Memory Address" start="34" end="95" type="address"/>
550401e04c3fSmrg    <field name="Source Memory Address" start="98" end="159" type="address"/>
550501e04c3fSmrg  </instruction>
550601e04c3fSmrg
55079f464c52Smaya  <instruction name="MI_DISPLAY_FLIP" bias="2" length="3" engine="render|blitter">
55089f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
550901e04c3fSmrg    <field name="Display Plane Select" start="8" end="12" type="uint">
551001e04c3fSmrg      <value name="Display Plane 1" value="0"/>
551101e04c3fSmrg      <value name="Display Plane 2" value="1"/>
551201e04c3fSmrg      <value name="Display Plane 3" value="2"/>
551301e04c3fSmrg      <value name="Display Plane 4" value="4"/>
551401e04c3fSmrg      <value name="Display Plane 5" value="5"/>
551501e04c3fSmrg      <value name="Display Plane 6" value="6"/>
551601e04c3fSmrg      <value name="Display Plane 7" value="7"/>
551701e04c3fSmrg      <value name="Display Plane 8" value="8"/>
551801e04c3fSmrg      <value name="Display Plane 9" value="9"/>
551901e04c3fSmrg      <value name="Display Plane 10" value="10"/>
552001e04c3fSmrg      <value name="Display Plane 11" value="11"/>
552101e04c3fSmrg      <value name="Display Plane 12" value="12"/>
552201e04c3fSmrg    </field>
55239f464c52Smaya    <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
55249f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
55259f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
552601e04c3fSmrg    <field name="Tile Parameter" start="32" end="34" type="uint"/>
55279f464c52Smaya    <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
55289f464c52Smaya    <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
552901e04c3fSmrg    <field name="Flip Type" start="64" end="65" type="uint">
553001e04c3fSmrg      <value name="Sync Flip" value="0"/>
553101e04c3fSmrg      <value name="Async Flip" value="1"/>
553201e04c3fSmrg      <value name="Stereo 3D Flip" value="2"/>
553301e04c3fSmrg    </field>
55349f464c52Smaya    <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
553501e04c3fSmrg    <field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
553601e04c3fSmrg  </instruction>
553701e04c3fSmrg
55389f464c52Smaya  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
55397ec681f3Smrg    <field name="DWord Length" start="0" end="5" type="uint" default="3"/>
55409f464c52Smaya    <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
55419f464c52Smaya    <field name="Notify Enable" start="8" end="8" type="bool"/>
55429f464c52Smaya    <field name="Flush LLC" start="9" end="9" type="bool"/>
55439f464c52Smaya    <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
55449f464c52Smaya    <field name="TLB Invalidate" start="18" end="18" type="bool"/>
55459f464c52Smaya    <field name="Store Data Index" start="21" end="21" type="uint"/>
55469f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
554701e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
55489f464c52Smaya    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
55499f464c52Smaya      <value name="PPGTT" value="0"/>
55509f464c52Smaya      <value name="GGTT" value="1"/>
55519f464c52Smaya    </field>
55529f464c52Smaya    <field name="Address" start="35" end="79" type="address"/>
55539f464c52Smaya    <field name="Immediate Data" start="96" end="159" type="uint"/>
55549f464c52Smaya  </instruction>
55559f464c52Smaya
55569f464c52Smaya  <instruction name="MI_FORCE_WAKEUP" bias="2" length="2">
555701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
55589f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
55599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
556001e04c3fSmrg    <field name="Force Media Awake" start="32" end="32" type="uint"/>
55619f464c52Smaya    <field name="Force Render Awake" start="33" end="33" type="uint"/>
55629f464c52Smaya    <field name="Mask Bits" start="48" end="63" type="uint"/>
556301e04c3fSmrg  </instruction>
556401e04c3fSmrg
556501e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
556601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
55679f464c52Smaya    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
55689f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
55699f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
557001e04c3fSmrg    <field name="Register Offset" start="34" end="54" type="offset"/>
557101e04c3fSmrg    <field name="Data DWord" start="64" end="95" type="uint"/>
557201e04c3fSmrg    <group count="0" start="96" size="64">
557301e04c3fSmrg      <field name="Register Offset" start="2" end="22" type="offset"/>
557401e04c3fSmrg      <field name="Data DWord" start="32" end="63" type="uint"/>
557501e04c3fSmrg    </group>
557601e04c3fSmrg  </instruction>
557701e04c3fSmrg
557801e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
557901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
55809f464c52Smaya    <field name="Async Mode Enable" start="21" end="21" type="bool"/>
55819f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
55829f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
55839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
558401e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
558501e04c3fSmrg    <field name="Memory Address" start="66" end="127" type="address"/>
558601e04c3fSmrg  </instruction>
558701e04c3fSmrg
558801e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
558901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
55909f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
55919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
559201e04c3fSmrg    <field name="Source Register Address" start="34" end="54" type="offset"/>
559301e04c3fSmrg    <field name="Destination Register Address" start="66" end="86" type="offset"/>
559401e04c3fSmrg  </instruction>
559501e04c3fSmrg
55969f464c52Smaya  <instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
55979f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
559801e04c3fSmrg    <field name="Display (Plane) Select" start="19" end="21" type="uint">
559901e04c3fSmrg      <value name="Display Plane A" value="0"/>
560001e04c3fSmrg      <value name="Display Plane B" value="1"/>
560101e04c3fSmrg      <value name="Display Plane C" value="4"/>
560201e04c3fSmrg    </field>
56039f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
56049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
560501e04c3fSmrg    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
56069f464c52Smaya    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
560701e04c3fSmrg  </instruction>
560801e04c3fSmrg
56099f464c52Smaya  <instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
56109f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
56119f464c52Smaya    <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
561201e04c3fSmrg    <field name="Display (Plane) Select" start="19" end="21" type="uint">
561301e04c3fSmrg      <value name="Display Plane 1 A" value="0"/>
561401e04c3fSmrg      <value name="Display Plane 1 B" value="1"/>
561501e04c3fSmrg      <value name="Display Plane 1 C" value="4"/>
561601e04c3fSmrg    </field>
56179f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
56189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
561901e04c3fSmrg    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
56209f464c52Smaya    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
562101e04c3fSmrg  </instruction>
562201e04c3fSmrg
56239f464c52Smaya  <instruction name="MI_LOAD_URB_MEM" bias="2" length="4" engine="render">
562401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
56259f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
56269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
562701e04c3fSmrg    <field name="URB Address" start="34" end="46" type="uint"/>
562801e04c3fSmrg    <field name="Memory Address" start="70" end="127" type="address"/>
562901e04c3fSmrg  </instruction>
563001e04c3fSmrg
563101e04c3fSmrg  <instruction name="MI_MATH" bias="2">
563201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
56339f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
56349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
563501e04c3fSmrg    <group count="0" start="32" size="32">
563601e04c3fSmrg      <field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
563701e04c3fSmrg    </group>
563801e04c3fSmrg  </instruction>
563901e04c3fSmrg
564001e04c3fSmrg  <instruction name="MI_NOOP" bias="1" length="1">
564101e04c3fSmrg    <field name="Identification Number" start="0" end="21" type="uint"/>
56429f464c52Smaya    <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
56439f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
56449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
564501e04c3fSmrg  </instruction>
564601e04c3fSmrg
564701e04c3fSmrg  <instruction name="MI_PREDICATE" bias="1" length="1">
56489f464c52Smaya    <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
56499f464c52Smaya      <value name="TRUE" value="0"/>
56509f464c52Smaya      <value name="FALSE" value="1"/>
56519f464c52Smaya      <value name="SRCS_EQUAL" value="2"/>
56529f464c52Smaya      <value name="DELTAS_EQUAL" value="3"/>
565301e04c3fSmrg    </field>
565401e04c3fSmrg    <field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
565501e04c3fSmrg      <value name="SET" value="0"/>
565601e04c3fSmrg      <value name="AND" value="1"/>
565701e04c3fSmrg      <value name="OR" value="2"/>
565801e04c3fSmrg      <value name="XOR" value="3"/>
565901e04c3fSmrg    </field>
56609f464c52Smaya    <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
56619f464c52Smaya      <value name="KEEP" value="0"/>
56629f464c52Smaya      <value name="LOAD" value="2"/>
56639f464c52Smaya      <value name="LOADINV" value="3"/>
566401e04c3fSmrg    </field>
56659f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
56669f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
566701e04c3fSmrg  </instruction>
566801e04c3fSmrg
566901e04c3fSmrg  <instruction name="MI_REPORT_HEAD" bias="1" length="1">
567001e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
56719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
567201e04c3fSmrg  </instruction>
567301e04c3fSmrg
56749f464c52Smaya  <instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4" engine="render">
567501e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
56769f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
56779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
567801e04c3fSmrg    <field name="Use Global GTT" start="32" end="32" type="bool"/>
56799f464c52Smaya    <field name="Core Mode Enable" start="36" end="36" type="uint"/>
56809f464c52Smaya    <field name="Memory Address" start="38" end="95" type="address"/>
568101e04c3fSmrg    <field name="Report ID" start="96" end="127" type="uint"/>
568201e04c3fSmrg  </instruction>
568301e04c3fSmrg
56849f464c52Smaya  <instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
568501e04c3fSmrg    <field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
568601e04c3fSmrg      <value name="Restore" value="0"/>
568701e04c3fSmrg      <value name="Save" value="1"/>
568801e04c3fSmrg    </field>
56899f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
56909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
569101e04c3fSmrg  </instruction>
569201e04c3fSmrg
56939f464c52Smaya  <instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
569401e04c3fSmrg    <field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
569501e04c3fSmrg      <value name="Stop" value="0"/>
569601e04c3fSmrg      <value name="Start" value="1"/>
569701e04c3fSmrg    </field>
56989f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
56999f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
570001e04c3fSmrg  </instruction>
570101e04c3fSmrg
57029f464c52Smaya  <instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
570301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
57049f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
57059f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
570601e04c3fSmrg    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
57079f464c52Smaya    <field name="Destination Address" start="34" end="95" type="address"/>
570801e04c3fSmrg    <field name="Data DWord 0" start="96" end="127" type="uint"/>
570901e04c3fSmrg  </instruction>
571001e04c3fSmrg
571101e04c3fSmrg  <instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
57129f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
571301e04c3fSmrg    <field name="Target Engine Select" start="15" end="17" type="uint">
571401e04c3fSmrg      <value name="RCS" value="0"/>
571501e04c3fSmrg      <value name="VCS0" value="1"/>
571601e04c3fSmrg      <value name="BCS" value="2"/>
571701e04c3fSmrg      <value name="VECS" value="3"/>
571801e04c3fSmrg      <value name="VCS1" value="4"/>
571901e04c3fSmrg    </field>
57209f464c52Smaya    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
57219f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
57229f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
572301e04c3fSmrg    <field name="Target Context ID" start="32" end="63" type="uint"/>
572401e04c3fSmrg  </instruction>
572501e04c3fSmrg
572601e04c3fSmrg  <instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
57279f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
572801e04c3fSmrg    <field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
572901e04c3fSmrg      <value name="SAD_GREATER_THAN_SDD" value="0"/>
573001e04c3fSmrg      <value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
573101e04c3fSmrg      <value name="SAD_LESS_THAN_SDD" value="2"/>
573201e04c3fSmrg      <value name="SAD_LESS_THAN_OR_EQUAL_SDD" value="3"/>
573301e04c3fSmrg      <value name="SAD_EQUAL_SDD" value="4"/>
573401e04c3fSmrg      <value name="SAD_NOT_EQUAL_SDD" value="5"/>
573501e04c3fSmrg    </field>
57369f464c52Smaya    <field name="Wait Mode" start="15" end="15" type="uint">
57379f464c52Smaya      <value name="Polling Mode" value="1"/>
57389f464c52Smaya      <value name="Signal Mode" value="0"/>
57399f464c52Smaya    </field>
57409f464c52Smaya    <field name="Register Poll Mode" start="16" end="16" type="bool"/>
57419f464c52Smaya    <field name="Memory Type" start="22" end="22" type="uint">
57429f464c52Smaya      <value name="Per Process Graphics Address" value="0"/>
57439f464c52Smaya      <value name="Global Graphics Address" value="1"/>
57449f464c52Smaya    </field>
57459f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
57469f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
574701e04c3fSmrg    <field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
574801e04c3fSmrg    <field name="Semaphore Address" start="66" end="127" type="address"/>
574901e04c3fSmrg  </instruction>
575001e04c3fSmrg
575101e04c3fSmrg  <instruction name="MI_SET_CONTEXT" bias="2" length="2">
57529f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
57539f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
57549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
575501e04c3fSmrg    <field name="Restore Inhibit" start="32" end="32" type="uint"/>
57569f464c52Smaya    <field name="Force Restore" start="33" end="33" type="uint"/>
57579f464c52Smaya    <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
57589f464c52Smaya    <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
57599f464c52Smaya    <field name="Core Mode Enable" start="36" end="36" type="bool"/>
57609f464c52Smaya    <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
57619f464c52Smaya    <field name="Logical Context Address" start="44" end="63" type="address"/>
576201e04c3fSmrg  </instruction>
576301e04c3fSmrg
576401e04c3fSmrg  <instruction name="MI_SET_PREDICATE" bias="1" length="1">
576501e04c3fSmrg    <field name="PREDICATE ENABLE" start="0" end="3" type="uint">
576601e04c3fSmrg      <value name="NOOP Never" value="0"/>
576701e04c3fSmrg      <value name="NOOP on Result2 clear" value="1"/>
576801e04c3fSmrg      <value name="NOOP on Result2 set" value="2"/>
576901e04c3fSmrg      <value name="NOOP on Result clear" value="3"/>
577001e04c3fSmrg      <value name="NOOP on Result set" value="4"/>
577101e04c3fSmrg      <value name="Execute when one slice enabled." value="5"/>
577201e04c3fSmrg      <value name="Execute when two slices are enabled." value="6"/>
577301e04c3fSmrg      <value name="Execute when three slices are enabled." value="7"/>
577401e04c3fSmrg      <value name="NOOP Always" value="15"/>
577501e04c3fSmrg    </field>
57769f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
57779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
577801e04c3fSmrg  </instruction>
577901e04c3fSmrg
578001e04c3fSmrg  <instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
578101e04c3fSmrg    <field name="DWord Length" start="0" end="9" type="uint" default="2"/>
57829f464c52Smaya    <field name="Store Qword" start="21" end="21" type="uint"/>
57839f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
57849f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
57859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
578601e04c3fSmrg    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
57879f464c52Smaya    <field name="Address" start="34" end="79" type="address"/>
578801e04c3fSmrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
578901e04c3fSmrg  </instruction>
579001e04c3fSmrg
579101e04c3fSmrg  <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
579201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
57939f464c52Smaya    <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
57949f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
57959f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
579601e04c3fSmrg    <field name="Offset" start="34" end="43" type="uint"/>
579701e04c3fSmrg    <field name="Data DWord 0" start="64" end="95" type="uint"/>
579801e04c3fSmrg    <field name="Data DWord 1" start="96" end="127" type="uint"/>
579901e04c3fSmrg  </instruction>
580001e04c3fSmrg
580101e04c3fSmrg  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
580201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
58039f464c52Smaya    <field name="Predicate Enable" start="21" end="21" type="bool"/>
58049f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
58059f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
58069f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
580701e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
580801e04c3fSmrg    <field name="Memory Address" start="66" end="127" type="address"/>
580901e04c3fSmrg  </instruction>
581001e04c3fSmrg
58119f464c52Smaya  <instruction name="MI_STORE_URB_MEM" bias="2" length="4" engine="render">
581201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
58139f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
58149f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
581501e04c3fSmrg    <field name="URB Address" start="34" end="46" type="uint"/>
581601e04c3fSmrg    <field name="Memory Address" start="70" end="127" type="address"/>
581701e04c3fSmrg  </instruction>
581801e04c3fSmrg
581901e04c3fSmrg  <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
582001e04c3fSmrg    <field name="Suspend Flush" start="0" end="0" type="bool"/>
58219f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
58229f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
582301e04c3fSmrg  </instruction>
582401e04c3fSmrg
58259f464c52Smaya  <instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1" engine="render">
582601e04c3fSmrg    <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
58279f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
58289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
582901e04c3fSmrg  </instruction>
583001e04c3fSmrg
58319f464c52Smaya  <instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1" engine="render">
583201e04c3fSmrg    <field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
58339f464c52Smaya    <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
58349f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
58359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
583601e04c3fSmrg  </instruction>
583701e04c3fSmrg
583801e04c3fSmrg  <instruction name="MI_USER_INTERRUPT" bias="1" length="1">
583901e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
58409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
584101e04c3fSmrg  </instruction>
584201e04c3fSmrg
58439f464c52Smaya  <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter">
584401e04c3fSmrg    <field name="Display Plnae 1 A Scan Line Wait Enable" start="0" end="0" type="bool"/>
58459f464c52Smaya    <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
58469f464c52Smaya    <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
58479f464c52Smaya    <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
58489f464c52Smaya    <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
58499f464c52Smaya    <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
58509f464c52Smaya    <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
58519f464c52Smaya    <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
58529f464c52Smaya    <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
58539f464c52Smaya    <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
58549f464c52Smaya    <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
58559f464c52Smaya    <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
58569f464c52Smaya    <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
58579f464c52Smaya    <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
58589f464c52Smaya    <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
58599f464c52Smaya    <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
58609f464c52Smaya    <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
58619f464c52Smaya    <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
58629f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
58639f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
586401e04c3fSmrg  </instruction>
586501e04c3fSmrg
58669f464c52Smaya  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
586701e04c3fSmrg    <field name="Pipeline Selection" start="0" end="1" type="uint">
586801e04c3fSmrg      <value name="3D" value="0"/>
586901e04c3fSmrg      <value name="Media" value="1"/>
587001e04c3fSmrg      <value name="GPGPU" value="2"/>
587101e04c3fSmrg    </field>
58729f464c52Smaya    <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
58739f464c52Smaya    <field name="Force Media Awake" start="5" end="5" type="bool"/>
58749f464c52Smaya    <field name="Mask Bits" start="8" end="15" type="uint"/>
58759f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
58769f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
58779f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
58789f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
587901e04c3fSmrg  </instruction>
588001e04c3fSmrg
58819f464c52Smaya  <instruction name="PIPE_CONTROL" bias="2" length="6" engine="render">
588201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
58839f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
58849f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
58859f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
58869f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
58879f464c52Smaya    <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
58889f464c52Smaya    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
58899f464c52Smaya    <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
58909f464c52Smaya    <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
58919f464c52Smaya    <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
58929f464c52Smaya    <field name="DC Flush Enable" start="37" end="37" type="bool"/>
58939f464c52Smaya    <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
58949f464c52Smaya    <field name="Notify Enable" start="40" end="40" type="bool"/>
58959f464c52Smaya    <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
58969f464c52Smaya    <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
58979f464c52Smaya    <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
58989f464c52Smaya    <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
58999f464c52Smaya    <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
590001e04c3fSmrg    <field name="Post Sync Operation" start="46" end="47" type="uint">
590101e04c3fSmrg      <value name="No Write" value="0"/>
590201e04c3fSmrg      <value name="Write Immediate Data" value="1"/>
590301e04c3fSmrg      <value name="Write PS Depth Count" value="2"/>
590401e04c3fSmrg      <value name="Write Timestamp" value="3"/>
590501e04c3fSmrg    </field>
59069f464c52Smaya    <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
59079f464c52Smaya    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
59089f464c52Smaya    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
59099f464c52Smaya    <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
59109f464c52Smaya    <field name="Store Data Index" start="53" end="53" type="uint"/>
59119f464c52Smaya    <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
59129f464c52Smaya      <value name="No LRI Operation" value="0"/>
59139f464c52Smaya      <value name="MMIO Write Immediate Data" value="1"/>
59149f464c52Smaya    </field>
59159f464c52Smaya    <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
59169f464c52Smaya      <value name="PPGTT" value="0"/>
59179f464c52Smaya      <value name="GGTT" value="1"/>
59189f464c52Smaya    </field>
59199f464c52Smaya    <field name="Flush LLC" start="58" end="58" type="bool"/>
592001e04c3fSmrg    <field name="Address" start="66" end="111" type="address"/>
592101e04c3fSmrg    <field name="Immediate Data" start="128" end="191" type="uint"/>
592201e04c3fSmrg  </instruction>
592301e04c3fSmrg
59249f464c52Smaya  <instruction name="SFC_AVS_CHROMA_COEFF_TABLE" bias="2" length="65" engine="video">
59259f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="63"/>
59269f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
59279f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59289f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59299f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
593001e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59319f464c52Smaya    <field name="AVS CHROMA Coefficient Table Body" start="32" end="2079" type="SFC_AVS_CHROMA_COEFF_TABLE_BODY"/>
59329f464c52Smaya  </instruction>
59339f464c52Smaya
59349f464c52Smaya  <instruction name="SFC_AVS_LUMA_COEFF_TABLE" bias="2" length="129" engine="video">
59359f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="127"/>
59369f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
59379f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59389f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59399f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
59409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59419f464c52Smaya    <field name="AVS LUMA Coefficient Table Body" start="32" end="4255" type="SFC_AVS_LUMA_COEFF_TABLE_BODY"/>
59429f464c52Smaya  </instruction>
59439f464c52Smaya
59449f464c52Smaya  <instruction name="SFC_AVS_STATE" bias="2" length="3" engine="video">
59459f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
59469f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
59479f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59489f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59499f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
59509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59519f464c52Smaya    <field name="AVS State Body" start="32" end="1567" type="SFC_AVS_STATE_BODY"/>
59529f464c52Smaya  </instruction>
59539f464c52Smaya
59549f464c52Smaya  <instruction name="SFC_FRAME_START" bias="2" length="2" engine="video">
59559f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
59569f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
59579f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59589f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59599f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
59609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59619f464c52Smaya    <field name="Frame Start Body" start="32" end="63" type="uint"/>
59629f464c52Smaya  </instruction>
59639f464c52Smaya
59649f464c52Smaya  <instruction name="SFC_IEF_STATE" bias="2" length="24" engine="video">
59659f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="22"/>
59669f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
59679f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59689f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59699f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
59709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59719f464c52Smaya    <field name="SFC IEF State Body" start="32" end="767" type="SFC_IEF_STATE_BODY"/>
59729f464c52Smaya  </instruction>
59739f464c52Smaya
59749f464c52Smaya  <instruction name="SFC_LOCK" bias="2" length="2" engine="video">
59759f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
59769f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
59779f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59789f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59799f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
59809f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59819f464c52Smaya    <field name="SFC Lock Body" start="32" end="63" type="SFC_LOCK_BODY"/>
59829f464c52Smaya  </instruction>
59839f464c52Smaya
59849f464c52Smaya  <instruction name="SFC_STATE" bias="2" length="32" engine="video">
59859f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="30"/>
59869f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
59879f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
59889f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
59899f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
59909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59919f464c52Smaya    <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
59929f464c52Smaya    <field name="SFC Input Chroma Sub-Sampling" start="36" end="39" type="uint">
59939f464c52Smaya      <value name="4:0:0" value="0"/>
59949f464c52Smaya      <value name="4:2:0" value="1"/>
59959f464c52Smaya      <value name="4:2:2 Horizonatal" value="2"/>
59969f464c52Smaya      <value name="4:4:4 Progressive/Interleaved" value="4"/>
59979f464c52Smaya    </field>
59989f464c52Smaya    <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
59999f464c52Smaya    <field name="Input Frame Resolution Width" start="64" end="75" type="uint"/>
60009f464c52Smaya    <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
60019f464c52Smaya    <field name="Output Surface Format Type" start="96" end="99" type="uint"/>
60029f464c52Smaya    <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
60039f464c52Smaya    <field name="Pre-AVS Chroma Downsampling Enable" start="102" end="103" type="uint"/>
60049f464c52Smaya    <field name="Pre-AVS Chroma Downsampling Co-siting Position Vertical Direction" start="104" end="106" type="uint"/>
60059f464c52Smaya    <field name="Pre-AVS Chroma Downsampling Co-siting Position Horizontal Direction" start="108" end="110" type="uint"/>
60069f464c52Smaya    <field name="IEF Enable" start="128" end="128" type="bool"/>
60079f464c52Smaya    <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
60089f464c52Smaya    <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
60099f464c52Smaya    <field name="AVS Filter Mode" start="132" end="133" type="uint">
60109f464c52Smaya      <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
60119f464c52Smaya      <value name="8x8 poly-phase filter + Bilinear" value="1"/>
60129f464c52Smaya      <value name="Bilinear filter only" value="2"/>
60139f464c52Smaya    </field>
60149f464c52Smaya    <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
60159f464c52Smaya    <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
60169f464c52Smaya    <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
60179f464c52Smaya    <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
60189f464c52Smaya    <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
60199f464c52Smaya    <field name="Rotation Mode" start="144" end="145" type="uint">
60209f464c52Smaya      <value name="0" value="0"/>
60219f464c52Smaya      <value name="90 CW" value="1"/>
60229f464c52Smaya      <value name="180 CW" value="2"/>
60239f464c52Smaya      <value name="270 CW" value="3"/>
60249f464c52Smaya    </field>
60259f464c52Smaya    <field name="Color Fill Enable" start="146" end="146" type="bool"/>
60269f464c52Smaya    <field name="CSC Enable" start="147" end="147" type="bool"/>
60279f464c52Smaya    <field name="Source Region Width" start="160" end="171" type="uint"/>
60289f464c52Smaya    <field name="Source Region Height" start="176" end="187" type="uint"/>
60299f464c52Smaya    <field name="Source Region Horizontal Offset" start="192" end="203" type="uint"/>
60309f464c52Smaya    <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
60319f464c52Smaya    <field name="Output Frame Width" start="224" end="235" type="uint"/>
60329f464c52Smaya    <field name="Output Frame Height" start="240" end="251" type="uint"/>
60339f464c52Smaya    <field name="Scaled Region Size Width" start="256" end="267" type="uint"/>
60349f464c52Smaya    <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
60359f464c52Smaya    <field name="Scaled Region Horizontal Offset" start="288" end="300" type="int"/>
60369f464c52Smaya    <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
60379f464c52Smaya    <field name="Gray Bar Pixel - U/G" start="320" end="329" type="uint"/>
60389f464c52Smaya    <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
60399f464c52Smaya    <field name="Gray Bar Pixel - A" start="352" end="361" type="uint"/>
60409f464c52Smaya    <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
60419f464c52Smaya    <field name="UV Default value for U channel" start="384" end="393" type="uint"/>
60429f464c52Smaya    <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
60439f464c52Smaya    <field name="Alpha Default Value" start="416" end="425" type="uint"/>
60449f464c52Smaya    <field name="Scaling Factor Height" start="448" end="468" type="u4.17"/>
60459f464c52Smaya    <field name="Scaling Factor Width" start="480" end="500" type="u4.17"/>
60469f464c52Smaya    <field name="Output Frame - Address" start="556" end="591" type="uint"/>
60479f464c52Smaya    <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
60489f464c52Smaya    <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
60499f464c52Smaya    <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
60509f464c52Smaya    <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
60519f464c52Smaya    <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
60529f464c52Smaya    <field name="Output Frame - Tiled Mode" start="621" end="622" type="uint">
60539f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
60549f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
60559f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
60569f464c52Smaya    </field>
60579f464c52Smaya    <field name="AVS Line Buffer - Address" start="652" end="687" type="uint"/>
60589f464c52Smaya    <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
60599f464c52Smaya    <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
60609f464c52Smaya    <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
60619f464c52Smaya    <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
60629f464c52Smaya      <value name="Horizontal Compression Mode" value="0"/>
60639f464c52Smaya    </field>
60649f464c52Smaya    <field name="AVS Line Buffer - Cache Select" start="716" end="716" type="uint">
60659f464c52Smaya      <value name="LLC" value="0"/>
60669f464c52Smaya    </field>
60679f464c52Smaya    <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
60689f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
60699f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
60709f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
60719f464c52Smaya    </field>
60729f464c52Smaya    <field name="IEF Line Buffer - Address" start="748" end="783" type="uint"/>
60739f464c52Smaya    <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
60749f464c52Smaya    <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
60759f464c52Smaya    <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
60769f464c52Smaya    <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
60779f464c52Smaya    <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
60789f464c52Smaya    <field name="IEF Line Buffer - Tiled Mode" start="813" end="814" type="uint">
60799f464c52Smaya      <value name="TRMODE_NONE" value="0"/>
60809f464c52Smaya      <value name="TRMODE_TILEYF" value="1"/>
60819f464c52Smaya      <value name="TRMODE_TILEYS" value="2"/>
60829f464c52Smaya    </field>
60839f464c52Smaya    <field name="Output Surface Tile Walk" start="928" end="928" type="uint" prefix="TW">
60849f464c52Smaya      <value name="XMAJOR" value="0"/>
60859f464c52Smaya      <value name="YMAJOR" value="1"/>
60869f464c52Smaya    </field>
60879f464c52Smaya    <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
60889f464c52Smaya    <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
60899f464c52Smaya    <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
60909f464c52Smaya    <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
60919f464c52Smaya    <field name="Output Surface Format" start="956" end="959" type="uint"/>
60929f464c52Smaya    <field name="Output Surface Y Offset for U" start="960" end="973" type="uint"/>
60939f464c52Smaya    <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
60949f464c52Smaya    <field name="Output Surface Y Offset for V" start="992" end="1005" type="uint"/>
60959f464c52Smaya    <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
60969f464c52Smaya  </instruction>
60979f464c52Smaya
60989f464c52Smaya  <instruction name="STATE_BASE_ADDRESS" bias="2" length="19" engine="render">
609901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="17"/>
61009f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
61019f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
61029f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
61039f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
610401e04c3fSmrg    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
61059f464c52Smaya    <field name="General State MOCS" start="36" end="42" type="uint"/>
61069f464c52Smaya    <field name="General State Base Address" start="44" end="95" type="address"/>
61079f464c52Smaya    <field name="Stateless Data Port Access MOCS" start="112" end="118" type="uint"/>
610801e04c3fSmrg    <field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
61099f464c52Smaya    <field name="Surface State MOCS" start="132" end="138" type="uint"/>
61109f464c52Smaya    <field name="Surface State Base Address" start="140" end="191" type="address"/>
611101e04c3fSmrg    <field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
61129f464c52Smaya    <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
61139f464c52Smaya    <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
611401e04c3fSmrg    <field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
61159f464c52Smaya    <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
61169f464c52Smaya    <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
611701e04c3fSmrg    <field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
61189f464c52Smaya    <field name="Instruction MOCS" start="324" end="330" type="uint"/>
61199f464c52Smaya    <field name="Instruction Base Address" start="332" end="383" type="address"/>
612001e04c3fSmrg    <field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
61219f464c52Smaya    <field name="General State Buffer Size" start="396" end="415" type="uint"/>
612201e04c3fSmrg    <field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
61239f464c52Smaya    <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
612401e04c3fSmrg    <field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
61259f464c52Smaya    <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
612601e04c3fSmrg    <field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
61279f464c52Smaya    <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
612801e04c3fSmrg    <field name="Bindless Surface State Base Address Modify Enable" start="512" end="512" type="bool"/>
61299f464c52Smaya    <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
61309f464c52Smaya    <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
613101e04c3fSmrg    <field name="Bindless Surface State Size" start="588" end="607" type="uint"/>
613201e04c3fSmrg  </instruction>
613301e04c3fSmrg
61349f464c52Smaya  <instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
61359f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
61369f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
61379f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
61389f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
61399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
61409f464c52Smaya    <field name="Prefetch Count" start="32" end="34" type="uint"/>
61419f464c52Smaya    <field name="Prefetch Pointer" start="38" end="63" type="address"/>
61429f464c52Smaya  </instruction>
61439f464c52Smaya
61449f464c52Smaya  <instruction name="STATE_SIP" bias="2" length="3" engine="render">
61459f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
61469f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
61479f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
61489f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
61499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
61509f464c52Smaya    <field name="System Instruction Pointer" start="36" end="95" type="offset"/>
61519f464c52Smaya  </instruction>
61529f464c52Smaya
61539f464c52Smaya  <instruction name="VDENC_CONST_QPT_STATE" bias="2" length="62" engine="video">
61549f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="60"/>
61559f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
61569f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
61579f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
61589f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
61599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
61609f464c52Smaya    <field name="QP Lambda Array Index[n]" start="32" end="39" type="uint"/>
61619f464c52Smaya    <field name="Skip Threshold Array Index[n]" start="384" end="399" type="uint"/>
61629f464c52Smaya    <field name="SIC Forward Transform Coeff Threshold Matrix0 Array Index[n]" start="832" end="847" type="uint"/>
61639f464c52Smaya    <field name="SIC Forward Transform Coeff Threshold Matrix1/3/5 Array Index[n]" start="1280" end="1287" type="uint"/>
61649f464c52Smaya    <field name="SIC Forward Transform Coeff Threshold Matrix2 Array Index[n]" start="1504" end="1511" type="uint"/>
61659f464c52Smaya    <field name="SIC Forward Transform Coeff Threshold Matrix4/6 Array Index[n]" start="1728" end="1735" type="uint"/>
61669f464c52Smaya  </instruction>
61679f464c52Smaya
61689f464c52Smaya  <instruction name="VDENC_DS_REF_SURFACE_STATE" bias="2" length="6" engine="video">
61699f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
61709f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
61719f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
61729f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
61739f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
61749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
61759f464c52Smaya    <field name="8X Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
61769f464c52Smaya  </instruction>
61779f464c52Smaya
61789f464c52Smaya  <instruction name="VDENC_IMG_STATE" bias="2" length="36" engine="video">
61799f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="34"/>
61809f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
61819f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
61829f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
61839f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
61849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
61859f464c52Smaya    <field name="Bidirectional Mix Disable" start="34" end="34" type="bool"/>
61869f464c52Smaya    <field name="VDEnc Extended PAK_OBJ_ Command Enable" start="38" end="38" type="bool"/>
61879f464c52Smaya    <field name="Transform 8x8" start="39" end="39" type="bool"/>
61889f464c52Smaya    <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
61899f464c52Smaya    <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
61909f464c52Smaya    <field name="Unidirectional Mix Disable" start="92" end="92" type="bool"/>
61919f464c52Smaya    <field name="Picture Width" start="112" end="127" type="uint"/>
61929f464c52Smaya    <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
61939f464c52Smaya    <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
61949f464c52Smaya    <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
61959f464c52Smaya    <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
61969f464c52Smaya      <value name="None" value="0"/>
61979f464c52Smaya      <value name="Haar Transform Adjusted" value="2"/>
61989f464c52Smaya    </field>
61999f464c52Smaya    <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
62009f464c52Smaya      <value name="None" value="0"/>
62019f464c52Smaya      <value name="Haar Transform Adjusted" value="2"/>
62029f464c52Smaya    </field>
62039f464c52Smaya    <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
62049f464c52Smaya    <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
62059f464c52Smaya    <field name="Picture Height" start="160" end="175" type="uint"/>
62069f464c52Smaya    <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
62079f464c52Smaya    <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
62089f464c52Smaya    <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
62099f464c52Smaya    <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
62109f464c52Smaya    <field name="Picture Type" start="189" end="190" type="uint">
62119f464c52Smaya      <value name="I" value="0"/>
62129f464c52Smaya      <value name="P" value="1"/>
62139f464c52Smaya    </field>
62149f464c52Smaya    <field name="Slice MB Height" start="192" end="207" type="uint"/>
62159f464c52Smaya    <field name="HME1 Y Offset" start="248" end="255" type="int"/>
62169f464c52Smaya    <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
62179f464c52Smaya    <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
62189f464c52Smaya    <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
62199f464c52Smaya    <field name="MV Cost Scaling Factor" start="272" end="273" type="uint">
62209f464c52Smaya      <value name="Qpel" value="0"/>
62219f464c52Smaya      <value name="Hpel" value="1"/>
62229f464c52Smaya      <value name="Pel" value="2"/>
62239f464c52Smaya      <value name="2pel" value="3"/>
62249f464c52Smaya    </field>
62259f464c52Smaya    <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
62269f464c52Smaya    <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
62279f464c52Smaya    <field name="Mode 0 Cost" start="288" end="295" type="uint"/>
62289f464c52Smaya    <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
62299f464c52Smaya    <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
62309f464c52Smaya    <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
62319f464c52Smaya    <field name="Mode 4 Cost" start="320" end="327" type="uint"/>
62329f464c52Smaya    <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
62339f464c52Smaya    <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
62349f464c52Smaya    <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
62359f464c52Smaya    <field name="Mode 8 Cost" start="352" end="359" type="uint"/>
62369f464c52Smaya    <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
62379f464c52Smaya    <field name="RefID Cost" start="368" end="375" type="uint"/>
62389f464c52Smaya    <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
62399f464c52Smaya    <field name="MV Cost" start="384" end="447" type="uint"/>
62409f464c52Smaya    <field name="QpPrimeY" start="448" end="455" type="uint"/>
62419f464c52Smaya    <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
62429f464c52Smaya    <field name="AVC Intra 4x4 Mode Mask" start="544" end="552" type="uint"/>
62439f464c52Smaya    <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
62449f464c52Smaya    <field name="AVC Intra 16x16 Mode Mask" start="576" end="579" type="uint"/>
62459f464c52Smaya    <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
62469f464c52Smaya    <field name="Intra Compute Type" start="584" end="585" type="uint"/>
62479f464c52Smaya    <field name="Penalty for Intra 16x16 Non-DC Prediction" start="640" end="647" type="uint"/>
62489f464c52Smaya    <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
62499f464c52Smaya    <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
62509f464c52Smaya    <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
62519f464c52Smaya    <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
62529f464c52Smaya    <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
62539f464c52Smaya    <field name="Intra Refresh Mode" start="689" end="689" type="uint">
62549f464c52Smaya      <value name="Row Based" value="0"/>
62559f464c52Smaya      <value name="Column Based" value="1"/>
62569f464c52Smaya    </field>
62579f464c52Smaya    <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
62589f464c52Smaya    <field name="PanicModeMBThreshold" start="704" end="719" type="uint"/>
62599f464c52Smaya    <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
62609f464c52Smaya    <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
62619f464c52Smaya    <field name="L0 Number of References" start="736" end="743" type="int"/>
62629f464c52Smaya    <field name="L1 Number of References" start="752" end="759" type="int"/>
62639f464c52Smaya    <field name="HME Ref Windows Combining Threshold" start="840" end="847" type="uint"/>
62649f464c52Smaya    <field name="Max Horizontal MV Range" start="864" end="879" type="uint"/>
62659f464c52Smaya    <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
62669f464c52Smaya    <field name="HME MV Cost" start="896" end="959" type="uint"/>
62679f464c52Smaya    <field name="ROI QP Adjustment for Zone0" start="960" end="963" type="int"/>
62689f464c52Smaya    <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
62699f464c52Smaya    <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
62709f464c52Smaya    <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
62719f464c52Smaya    <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
62729f464c52Smaya    <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
62739f464c52Smaya    <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
62749f464c52Smaya    <field name="Best Distortion QP Adjustment for Zone0" start="992" end="995" type="int"/>
62759f464c52Smaya    <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
62769f464c52Smaya    <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
62779f464c52Smaya    <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
62789f464c52Smaya    <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
62799f464c52Smaya    <field name="Sad/Haar Threshold 1" start="1024" end="1039" type="uint"/>
62809f464c52Smaya    <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
62819f464c52Smaya    <field name="Min QP" start="1056" end="1063" type="uint"/>
62829f464c52Smaya    <field name="Max QP" start="1064" end="1071" type="uint"/>
62839f464c52Smaya    <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
62849f464c52Smaya    <field name="ROI Enable" start="1088" end="1088" type="bool"/>
62859f464c52Smaya    <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
62869f464c52Smaya    <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
62879f464c52Smaya    <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
62889f464c52Smaya    <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
62899f464c52Smaya    <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
62909f464c52Smaya    <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
62919f464c52Smaya    <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
62929f464c52Smaya    <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
62939f464c52Smaya    <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
62949f464c52Smaya    <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
62959f464c52Smaya    <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
62969f464c52Smaya  </instruction>
62979f464c52Smaya
62989f464c52Smaya  <instruction name="VDENC_PIPE_BUF_ADDR_STATE" bias="2" length="38" engine="video">
62999f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="36"/>
63009f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
63019f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
63029f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
63039f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
63049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63059f464c52Smaya    <field name="DS FWD REF0" start="32" end="127" type="VDENC_PICTURE"/>
63069f464c52Smaya    <field name="DS FWD REF1" start="128" end="223" type="VDENC_PICTURE"/>
63079f464c52Smaya    <field name="Original Uncompressed Picture" start="320" end="415" type="VDENC_PICTURE"/>
63089f464c52Smaya    <field name="Stream-In Data Picture" start="416" end="511" type="VDENC_PICTURE"/>
63099f464c52Smaya    <field name="Row Store Scratch Buffer" start="512" end="607" type="VDENC_PICTURE"/>
63109f464c52Smaya    <field name="Colocated MV Read Buffer" start="608" end="703" type="VDENC_PICTURE"/>
63119f464c52Smaya    <field name="FWD REF0" start="704" end="799" type="VDENC_PICTURE"/>
63129f464c52Smaya    <field name="FWD REF1" start="800" end="895" type="VDENC_PICTURE"/>
63139f464c52Smaya    <field name="FWD REF2" start="896" end="991" type="VDENC_PICTURE"/>
63149f464c52Smaya    <field name="BWD REF0" start="992" end="1087" type="VDENC_PICTURE"/>
63159f464c52Smaya    <field name="VDEnc Statistics Stream-Out" start="1088" end="1183" type="VDENC_PICTURE"/>
63169f464c52Smaya  </instruction>
63179f464c52Smaya
63189f464c52Smaya  <instruction name="VDENC_PIPE_MODE_SELECT" bias="2" length="2" engine="video">
63199f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
63209f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
63219f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
63229f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
63239f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
63249f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63259f464c52Smaya    <field name="Standard Select" start="32" end="35" type="uint">
63269f464c52Smaya      <value name="AVC" value="2"/>
63279f464c52Smaya    </field>
63289f464c52Smaya    <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
63299f464c52Smaya    <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
63309f464c52Smaya    <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
63319f464c52Smaya    <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
63329f464c52Smaya    <field name="PAK Chroma Sub-Sampling Type" start="47" end="48" type="uint">
63339f464c52Smaya      <value name="4:2:0" value="1"/>
63349f464c52Smaya      <value name="4:4:4" value="3"/>
63359f464c52Smaya    </field>
63369f464c52Smaya    <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
63379f464c52Smaya  </instruction>
63389f464c52Smaya
63399f464c52Smaya  <instruction name="VDENC_REF_SURFACE_STATE" bias="2" length="6" engine="video">
63409f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
63419f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
63429f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
63439f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
63449f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
634501e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63469f464c52Smaya    <field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
634701e04c3fSmrg  </instruction>
634801e04c3fSmrg
63499f464c52Smaya  <instruction name="VDENC_SRC_SURFACE_STATE" bias="2" length="6" engine="video">
63509f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
63519f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
63529f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
63539f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
63549f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
635501e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63569f464c52Smaya    <field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
635701e04c3fSmrg  </instruction>
635801e04c3fSmrg
63599f464c52Smaya  <instruction name="VDENC_WALKER_STATE" bias="2" length="2" engine="video">
63609f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
63619f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
63629f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
63639f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
63649f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
63659f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63669f464c52Smaya    <field name="MB/LCU Start Y Position" start="32" end="40" type="uint"/>
63679f464c52Smaya    <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
63689f464c52Smaya    <field name="First Super Slice" start="60" end="60" type="bool"/>
63699f464c52Smaya    <field name="Tile Stream-In Offset Enable" start="192" end="192" type="bool"/>
63709f464c52Smaya    <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
63719f464c52Smaya    <field name="Tile Row Store Offset Enable" start="224" end="224" type="bool"/>
63729f464c52Smaya    <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
63739f464c52Smaya    <field name="Tile Stream-Out Offset Enable" start="256" end="256" type="bool"/>
63749f464c52Smaya    <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
63759f464c52Smaya    <field name="Tile LCU Stream-Out Offset Enable" start="288" end="288" type="bool"/>
63769f464c52Smaya    <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
63779f464c52Smaya  </instruction>
63789f464c52Smaya
63799f464c52Smaya  <instruction name="VD_PIPELINE_FLUSH" bias="2" length="2" engine="video">
63809f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
63819f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
63829f464c52Smaya    <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
63839f464c52Smaya    <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
63849f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
63859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63869f464c52Smaya    <field name="HEVC Pipeline Done" start="32" end="32" type="bool"/>
63879f464c52Smaya    <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
63889f464c52Smaya    <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
63899f464c52Smaya    <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
63909f464c52Smaya    <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
63919f464c52Smaya    <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
63929f464c52Smaya    <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
63939f464c52Smaya  </instruction>
639401e04c3fSmrg
63959f464c52Smaya  <register name="ACTHD_UDW" length="1" num="0x205c">
63969f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
639701e04c3fSmrg  </register>
639801e04c3fSmrg
63999f464c52Smaya  <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
64009f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
640101e04c3fSmrg  </register>
640201e04c3fSmrg
64039f464c52Smaya  <register name="BCS_INSTDONE" length="1" num="0x2206c">
64049f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
64059f464c52Smaya    <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
64069f464c52Smaya    <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
64079f464c52Smaya    <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
640801e04c3fSmrg  </register>
640901e04c3fSmrg
64109f464c52Smaya  <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
64119f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
64129f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
64139f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
64149f464c52Smaya      <value name="MI_AUTOREPORT_64KB" value="1"/>
64159f464c52Smaya      <value name="MI_AUTOREPORT_4KB" value="2"/>
64169f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
64179f464c52Smaya    </field>
64189f464c52Smaya    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
64199f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
64209f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
64219f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
642201e04c3fSmrg  </register>
642301e04c3fSmrg
64249f464c52Smaya  <register name="CACHE_MODE_0" length="1" num="0x7000">
64259f464c52Smaya    <field name="Null tile fix disable" start="0" end="0" type="bool"/>
64269f464c52Smaya    <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
64279f464c52Smaya    <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
64289f464c52Smaya    <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
64299f464c52Smaya    <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
64309f464c52Smaya    <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
64319f464c52Smaya      <value name="Round Robin" value="0"/>
64329f464c52Smaya      <value name="Fetch are Highest Priority" value="1"/>
64339f464c52Smaya      <value name="Constants are Highest Priority" value="2"/>
64349f464c52Smaya    </field>
64359f464c52Smaya    <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
64369f464c52Smaya    <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
64379f464c52Smaya    <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
64389f464c52Smaya    <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
64399f464c52Smaya    <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
64409f464c52Smaya    <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
64419f464c52Smaya    <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
64429f464c52Smaya    <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
64439f464c52Smaya    <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
64449f464c52Smaya    <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
64459f464c52Smaya    <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
64469f464c52Smaya    <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
64479f464c52Smaya    <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
64489f464c52Smaya    <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
644901e04c3fSmrg  </register>
645001e04c3fSmrg
64519f464c52Smaya  <register name="CACHE_MODE_1" length="1" num="0x7004">
64529f464c52Smaya    <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
64539f464c52Smaya    <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
64549f464c52Smaya    <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
64559f464c52Smaya    <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
64569f464c52Smaya    <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
64579f464c52Smaya    <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
64589f464c52Smaya    <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
64599f464c52Smaya    <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
64609f464c52Smaya    <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
64619f464c52Smaya    <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
64629f464c52Smaya    <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
64639f464c52Smaya    <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
64649f464c52Smaya    <field name="Color Compression Disable" start="15" end="15" type="bool"/>
64659f464c52Smaya    <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
64669f464c52Smaya    <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
64679f464c52Smaya    <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
64689f464c52Smaya    <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
64699f464c52Smaya    <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
64709f464c52Smaya    <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
64719f464c52Smaya    <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
64729f464c52Smaya    <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
64739f464c52Smaya    <field name="NP PMA Fix Enable Mask" start="27" end="27" type="bool"/>
64749f464c52Smaya    <field name="HIZ Eviction Policy Mask" start="28" end="28" type="bool"/>
64759f464c52Smaya    <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
64769f464c52Smaya    <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
64779f464c52Smaya    <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
647801e04c3fSmrg  </register>
647901e04c3fSmrg
648001e04c3fSmrg  <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
648101e04c3fSmrg    <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
648201e04c3fSmrg  </register>
648301e04c3fSmrg
648401e04c3fSmrg  <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
648501e04c3fSmrg    <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
648601e04c3fSmrg  </register>
648701e04c3fSmrg
64889f464c52Smaya  <register name="CS_CHICKEN1" length="1" num="0x2580">
64899f464c52Smaya    <field name="Replay Mode" start="0" end="0" type="uint">
64909f464c52Smaya      <value name="Mid-cmdbuffer Preemption" value="0"/>
64919f464c52Smaya      <value name="Object Level Preemption" value="1"/>
64929f464c52Smaya    </field>
64939f464c52Smaya    <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
64949f464c52Smaya  </register>
64959f464c52Smaya
64969f464c52Smaya  <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
64979f464c52Smaya    <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
64989f464c52Smaya    <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
64999f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
65009f464c52Smaya    <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
65019f464c52Smaya    <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
65029f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
650301e04c3fSmrg  </register>
650401e04c3fSmrg
650501e04c3fSmrg  <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
650601e04c3fSmrg    <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
650701e04c3fSmrg  </register>
650801e04c3fSmrg
65099f464c52Smaya  <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
65109f464c52Smaya    <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
65119f464c52Smaya  </register>
65129f464c52Smaya
65139f464c52Smaya  <register name="FAULT_REG" length="1" num="0x4094">
65149f464c52Smaya    <field name="Valid Bit" start="0" end="0" type="bool"/>
65159f464c52Smaya    <field name="Fault Type" start="1" end="2" type="uint">
65169f464c52Smaya      <value name="Invalid PTE Fault" value="0"/>
65179f464c52Smaya      <value name="Invalid PDE Fault" value="1"/>
65189f464c52Smaya      <value name="Invalid PDPE Fault" value="2"/>
65199f464c52Smaya      <value name="Invalid PML4E Fault" value="3"/>
65209f464c52Smaya    </field>
65219f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
65229f464c52Smaya    <field name="GTTSEL" start="11" end="11" type="uint">
65239f464c52Smaya      <value name="PPGTT" value="0"/>
65249f464c52Smaya      <value name="GGTT" value="1"/>
65259f464c52Smaya    </field>
65269f464c52Smaya    <field name="Engine ID" start="12" end="14" type="uint">
65279f464c52Smaya      <value name="GFX" value="0"/>
65289f464c52Smaya      <value name="MFX0" value="1"/>
65299f464c52Smaya      <value name="MFX1" value="2"/>
65309f464c52Smaya      <value name="VEBX" value="3"/>
65319f464c52Smaya      <value name="BLT" value="4"/>
65329f464c52Smaya      <value name="GUC" value="5"/>
65339f464c52Smaya    </field>
65349f464c52Smaya  </register>
65359f464c52Smaya
65369f464c52Smaya  <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
65379f464c52Smaya    <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
65389f464c52Smaya    <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
65399f464c52Smaya    <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
65409f464c52Smaya    <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
65419f464c52Smaya    <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
65429f464c52Smaya    <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
65439f464c52Smaya    <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
65449f464c52Smaya    <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
65459f464c52Smaya    <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
65469f464c52Smaya    <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
65479f464c52Smaya    <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
65489f464c52Smaya    <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
65499f464c52Smaya    <field name="PASID Not Valid" start="13" end="13" type="bool"/>
65509f464c52Smaya    <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
65519f464c52Smaya    <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
65529f464c52Smaya  </register>
65539f464c52Smaya
65549f464c52Smaya  <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
65559f464c52Smaya    <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
65569f464c52Smaya  </register>
65579f464c52Smaya
65589f464c52Smaya  <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
65599f464c52Smaya    <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
65609f464c52Smaya  </register>
65619f464c52Smaya
65627ec681f3Smrg  <register name="GT_MODE" length="1" num="0x7008">
65637ec681f3Smrg    <field name="Subslice Hashing" start="8" end="9" type="uint">
65647ec681f3Smrg      <value name="8x8" value="0"/>
65657ec681f3Smrg      <value name="16x4" value="1"/>
65667ec681f3Smrg      <value name="8x4" value="2"/>
65677ec681f3Smrg      <value name="16x16" value="3"/>
65687ec681f3Smrg    </field>
65697ec681f3Smrg    <field name="Slice Hashing" start="11" end="12" type="uint">
65707ec681f3Smrg      <value name="NORMAL" value="0"/>
65717ec681f3Smrg      <value name="DISABLED" value="1"/>
65727ec681f3Smrg      <value name="32x16" value="2"/>
65737ec681f3Smrg      <value name="32x32" value="3"/>
65747ec681f3Smrg    </field>
65757ec681f3Smrg    <field name="Subslice Hashing Mask" start="24" end="25" type="int"/>
65767ec681f3Smrg    <field name="Slice Hashing Mask" start="27" end="28" type="int"/>
65777ec681f3Smrg  </register>
65787ec681f3Smrg
65799f464c52Smaya  <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
65809f464c52Smaya    <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
65819f464c52Smaya  </register>
65829f464c52Smaya
65839f464c52Smaya  <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
65849f464c52Smaya    <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
65859f464c52Smaya  </register>
65869f464c52Smaya
65879f464c52Smaya  <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
65889f464c52Smaya    <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
658901e04c3fSmrg  </register>
659001e04c3fSmrg
659101e04c3fSmrg  <register name="INSTDONE_1" length="1" num="0x206c">
659201e04c3fSmrg    <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
659301e04c3fSmrg    <field name="VFG Done" start="1" end="1" type="bool"/>
659401e04c3fSmrg    <field name="VS Done" start="2" end="2" type="bool"/>
659501e04c3fSmrg    <field name="HS Done" start="3" end="3" type="bool"/>
659601e04c3fSmrg    <field name="TE Done" start="4" end="4" type="bool"/>
659701e04c3fSmrg    <field name="DS Done" start="5" end="5" type="bool"/>
659801e04c3fSmrg    <field name="GS Done" start="6" end="6" type="bool"/>
659901e04c3fSmrg    <field name="SOL Done" start="7" end="7" type="bool"/>
660001e04c3fSmrg    <field name="CL Done" start="8" end="8" type="bool"/>
660101e04c3fSmrg    <field name="SF Done" start="9" end="9" type="bool"/>
660201e04c3fSmrg    <field name="TDG Done" start="12" end="12" type="bool"/>
660301e04c3fSmrg    <field name="URBM Done" start="13" end="13" type="bool"/>
660401e04c3fSmrg    <field name="SVG Done" start="14" end="14" type="bool"/>
660501e04c3fSmrg    <field name="GAFS Done" start="15" end="15" type="bool"/>
660601e04c3fSmrg    <field name="VFE Done" start="16" end="16" type="bool"/>
660701e04c3fSmrg    <field name="TSG Done" start="17" end="17" type="bool"/>
660801e04c3fSmrg    <field name="GAFM Done" start="18" end="18" type="bool"/>
660901e04c3fSmrg    <field name="GAM Done" start="19" end="19" type="bool"/>
661001e04c3fSmrg    <field name="RS Done" start="20" end="20" type="bool"/>
661101e04c3fSmrg    <field name="CS Done" start="21" end="21" type="bool"/>
661201e04c3fSmrg    <field name="SDE Done" start="22" end="22" type="bool"/>
661301e04c3fSmrg    <field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
661401e04c3fSmrg  </register>
661501e04c3fSmrg
66169f464c52Smaya  <register name="L3CNTLREG" length="1" num="0x7034">
66179f464c52Smaya    <field name="SLM Enable" start="0" end="0" type="bool"/>
66189f464c52Smaya    <field name="URB Allocation" start="1" end="7" type="uint"/>
66199f464c52Smaya    <field name="RO Allocation" start="11" end="17" type="uint"/>
66209f464c52Smaya    <field name="DC Allocation" start="18" end="24" type="uint"/>
66219f464c52Smaya    <field name="All Allocation" start="25" end="31" type="uint"/>
66229f464c52Smaya  </register>
66239f464c52Smaya
66247ec681f3Smrg  <register name="PERFCNT1" length="2" num="0x91b8">
66257ec681f3Smrg    <field name="Value" start="0" end="43" type="uint"/>
66267ec681f3Smrg    <field name="Event Selection" start="52" end="59" type="uint"/>
66277ec681f3Smrg    <field name="Counter Clear" start="60" end="60" type="bool"/>
66287ec681f3Smrg    <field name="Edge Detect" start="61" end="61" type="bool"/>
66297ec681f3Smrg    <field name="Overflow Enable" start="62" end="62" type="bool"/>
66307ec681f3Smrg    <field name="Counter Enable" start="63" end="63" type="bool"/>
66317ec681f3Smrg  </register>
66327ec681f3Smrg
66337ec681f3Smrg  <register name="PERFCNT2" length="2" num="0x91c0">
66347ec681f3Smrg    <field name="Value" start="0" end="43" type="uint"/>
66357ec681f3Smrg    <field name="Event Selection" start="52" end="59" type="uint"/>
66367ec681f3Smrg    <field name="Counter Clear" start="60" end="60" type="bool"/>
66377ec681f3Smrg    <field name="Edge Detect" start="61" end="61" type="bool"/>
66387ec681f3Smrg    <field name="Overflow Enable" start="62" end="62" type="bool"/>
66397ec681f3Smrg    <field name="Counter Enable" start="63" end="63" type="bool"/>
66407ec681f3Smrg  </register>
66417ec681f3Smrg
66429f464c52Smaya  <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
66439f464c52Smaya    <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
66449f464c52Smaya  </register>
66459f464c52Smaya
66469f464c52Smaya  <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
66479f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
66489f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
66499f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
66509f464c52Smaya      <value name="MI_AUTOREPORT_64KB" value="1"/>
66519f464c52Smaya      <value name="MI_AUTOREPORT_4KB" value="2"/>
66529f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
66539f464c52Smaya    </field>
66549f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
66559f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
66569f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
665701e04c3fSmrg  </register>
665801e04c3fSmrg
665901e04c3fSmrg  <register name="ROW_INSTDONE" length="1" num="0xe164">
666001e04c3fSmrg    <field name="BC Done" start="0" end="0" type="bool"/>
666101e04c3fSmrg    <field name="PSD Done" start="1" end="1" type="bool"/>
666201e04c3fSmrg    <field name="DAPR Done" start="3" end="3" type="bool"/>
666301e04c3fSmrg    <field name="TDL Done" start="6" end="6" type="bool"/>
666401e04c3fSmrg    <field name="IC Done" start="12" end="12" type="bool"/>
666501e04c3fSmrg    <field name="MA0 Done" start="15" end="15" type="bool"/>
666601e04c3fSmrg    <field name="EU00 Done SS0" start="16" end="16" type="bool"/>
666701e04c3fSmrg    <field name="EU01 Done SS0" start="17" end="17" type="bool"/>
666801e04c3fSmrg    <field name="EU02 Done SS0" start="18" end="18" type="bool"/>
666901e04c3fSmrg    <field name="EU03 Done SS0" start="19" end="19" type="bool"/>
667001e04c3fSmrg    <field name="EU10 Done SS0" start="21" end="21" type="bool"/>
667101e04c3fSmrg    <field name="EU11 Done SS0" start="22" end="22" type="bool"/>
667201e04c3fSmrg    <field name="EU12 Done SS0" start="23" end="23" type="bool"/>
667301e04c3fSmrg    <field name="EU13 Done SS0" start="24" end="24" type="bool"/>
667401e04c3fSmrg    <field name="MA1 Done SS0" start="26" end="26" type="bool"/>
667501e04c3fSmrg  </register>
667601e04c3fSmrg
66777ec681f3Smrg  <register name="RPSTAT0" length="1" num="0xa01c">
66787ec681f3Smrg    <field name="Previous GT Frequency" start="0" end="8" type="uint"/>
66797ec681f3Smrg    <field name="Current GT Frequency" start="23" end="31" type="uint"/>
66807ec681f3Smrg  </register>
66817ec681f3Smrg
668201e04c3fSmrg  <register name="SAMPLER_INSTDONE" length="1" num="0xe160">
668301e04c3fSmrg    <field name="IME Done" start="0" end="0" type="bool"/>
668401e04c3fSmrg    <field name="PL0 Done" start="1" end="1" type="bool"/>
668501e04c3fSmrg    <field name="SO0 Done" start="2" end="2" type="bool"/>
668601e04c3fSmrg    <field name="DG0 Done" start="3" end="3" type="bool"/>
668701e04c3fSmrg    <field name="FT0 Done" start="4" end="4" type="bool"/>
668801e04c3fSmrg    <field name="DM0 Done" start="5" end="5" type="bool"/>
668901e04c3fSmrg    <field name="SC Done" start="6" end="6" type="bool"/>
669001e04c3fSmrg    <field name="FL0 Done" start="7" end="7" type="bool"/>
669101e04c3fSmrg    <field name="QC Done" start="8" end="8" type="bool"/>
669201e04c3fSmrg    <field name="SVSM Done" start="9" end="9" type="bool"/>
669301e04c3fSmrg    <field name="SI0 Done" start="10" end="10" type="bool"/>
669401e04c3fSmrg    <field name="MT0 Done" start="11" end="11" type="bool"/>
669501e04c3fSmrg    <field name="AVS Done" start="12" end="12" type="bool"/>
669601e04c3fSmrg    <field name="IEF Done" start="13" end="13" type="bool"/>
669701e04c3fSmrg    <field name="CRE Done" start="14" end="14" type="bool"/>
669801e04c3fSmrg    <field name="SVSM ARB3" start="15" end="15" type="bool"/>
669901e04c3fSmrg    <field name="SVSM ARB2" start="16" end="16" type="bool"/>
670001e04c3fSmrg    <field name="SVSM ARB1" start="17" end="17" type="bool"/>
670101e04c3fSmrg    <field name="SVSM Adapter" start="18" end="18" type="bool"/>
670201e04c3fSmrg    <field name="BDM Done" start="19" end="19" type="bool"/>
670301e04c3fSmrg  </register>
670401e04c3fSmrg
67059f464c52Smaya  <register name="SC_INSTDONE" length="1" num="0x7100">
67069f464c52Smaya    <field name="SVL Done" start="0" end="0" type="bool"/>
67079f464c52Smaya    <field name="WMFE Done" start="1" end="1" type="bool"/>
67089f464c52Smaya    <field name="WMBE Done" start="2" end="2" type="bool"/>
67099f464c52Smaya    <field name="HIZ Done" start="3" end="3" type="bool"/>
67109f464c52Smaya    <field name="STC Done" start="4" end="4" type="bool"/>
67119f464c52Smaya    <field name="IZ Done" start="5" end="5" type="bool"/>
67129f464c52Smaya    <field name="SBE Done" start="6" end="6" type="bool"/>
67139f464c52Smaya    <field name="RCZ Done" start="8" end="8" type="bool"/>
67149f464c52Smaya    <field name="RCC Done" start="9" end="9" type="bool"/>
67159f464c52Smaya    <field name="RCPBE Done" start="10" end="10" type="bool"/>
67169f464c52Smaya    <field name="RCPFE Done" start="11" end="11" type="bool"/>
67179f464c52Smaya    <field name="DAPB Done" start="12" end="12" type="bool"/>
67189f464c52Smaya    <field name="DAPRBE Done" start="13" end="13" type="bool"/>
67199f464c52Smaya    <field name="SARB Done" start="15" end="15" type="bool"/>
67209f464c52Smaya    <field name="DC0 Done" start="16" end="16" type="bool"/>
67219f464c52Smaya    <field name="DC1 Done" start="17" end="17" type="bool"/>
67229f464c52Smaya    <field name="DC2 Done" start="18" end="18" type="bool"/>
67239f464c52Smaya    <field name="DC3 Done" start="19" end="19" type="bool"/>
67249f464c52Smaya    <field name="GW0 Done" start="20" end="20" type="bool"/>
67259f464c52Smaya    <field name="GW1 Done" start="21" end="21" type="bool"/>
67269f464c52Smaya    <field name="GW2 Done" start="22" end="22" type="bool"/>
67279f464c52Smaya    <field name="GW3 Done" start="23" end="23" type="bool"/>
67289f464c52Smaya    <field name="TDC Done" start="24" end="24" type="bool"/>
672901e04c3fSmrg  </register>
673001e04c3fSmrg
67319f464c52Smaya  <register name="SLICE_COMMON_ECO_CHICKEN1" length="1" num="0x731c">
67329f464c52Smaya    <field name="GLK Barrier Mode" start="7" end="7" type="uint">
67339f464c52Smaya      <value name="GLK_BARRIER_MODE_GPGPU" value="0"/>
67349f464c52Smaya      <value name="GLK_BARRIER_MODE_3D_HULL" value="1"/>
67359f464c52Smaya    </field>
67369f464c52Smaya    <field name="GLK Barrier Mode Mask" start="23" end="23" type="bool"/>
673701e04c3fSmrg  </register>
673801e04c3fSmrg
67399f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
67409f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
674101e04c3fSmrg  </register>
674201e04c3fSmrg
67439f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN1" length="2" num="0x5208">
67449f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
674501e04c3fSmrg  </register>
674601e04c3fSmrg
67479f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN2" length="2" num="0x5210">
67489f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
674901e04c3fSmrg  </register>
675001e04c3fSmrg
67519f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN3" length="2" num="0x5218">
67529f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
675301e04c3fSmrg  </register>
675401e04c3fSmrg
67559f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED0" length="2" num="0x5240">
67569f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
675701e04c3fSmrg  </register>
675801e04c3fSmrg
67599f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED1" length="2" num="0x5248">
67609f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
676101e04c3fSmrg  </register>
676201e04c3fSmrg
67639f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED2" length="2" num="0x5250">
67649f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
676501e04c3fSmrg  </register>
676601e04c3fSmrg
67679f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED3" length="2" num="0x5258">
67689f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
676901e04c3fSmrg  </register>
677001e04c3fSmrg
67719f464c52Smaya  <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
67729f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
677301e04c3fSmrg  </register>
677401e04c3fSmrg
67759f464c52Smaya  <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
67769f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
677701e04c3fSmrg  </register>
677801e04c3fSmrg
67799f464c52Smaya  <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
67809f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
678101e04c3fSmrg  </register>
678201e04c3fSmrg
67839f464c52Smaya  <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
67849f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
678501e04c3fSmrg  </register>
678601e04c3fSmrg
67879f464c52Smaya  <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
678801e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
678901e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
679001e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
679101e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
679201e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
679301e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
679401e04c3fSmrg    </field>
679501e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
679601e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
679701e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
679801e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
679901e04c3fSmrg  </register>
680001e04c3fSmrg
68019f464c52Smaya  <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
68029f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
680301e04c3fSmrg  </register>
680401e04c3fSmrg
68059f464c52Smaya  <register name="VCS_INSTDONE" length="1" num="0x1206c">
68069f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
68079f464c52Smaya    <field name="USB Done" start="1" end="1" type="bool"/>
68089f464c52Smaya    <field name="QRC Done" start="2" end="2" type="bool"/>
68099f464c52Smaya    <field name="SEC Done" start="3" end="3" type="bool"/>
68109f464c52Smaya    <field name="MPC Done" start="4" end="4" type="bool"/>
68119f464c52Smaya    <field name="VFT Done" start="5" end="5" type="bool"/>
68129f464c52Smaya    <field name="BSP Done" start="6" end="6" type="bool"/>
68139f464c52Smaya    <field name="VLF Done" start="7" end="7" type="bool"/>
68149f464c52Smaya    <field name="VOP Done" start="8" end="8" type="bool"/>
68159f464c52Smaya    <field name="VMC Done" start="9" end="9" type="bool"/>
68169f464c52Smaya    <field name="VIP Done" start="10" end="10" type="bool"/>
68179f464c52Smaya    <field name="VIT Done" start="11" end="11" type="bool"/>
68189f464c52Smaya    <field name="VDS Done" start="12" end="12" type="bool"/>
68199f464c52Smaya    <field name="VMX Done" start="13" end="13" type="bool"/>
68209f464c52Smaya    <field name="VCP Done" start="14" end="14" type="bool"/>
68219f464c52Smaya    <field name="VCD Done" start="15" end="15" type="bool"/>
68229f464c52Smaya    <field name="VAD Done" start="16" end="16" type="bool"/>
68239f464c52Smaya    <field name="VMD Done" start="17" end="17" type="bool"/>
68249f464c52Smaya    <field name="VIS Done" start="18" end="18" type="bool"/>
68259f464c52Smaya    <field name="VAC Done" start="19" end="19" type="bool"/>
68269f464c52Smaya    <field name="VAM Done" start="20" end="20" type="bool"/>
68279f464c52Smaya    <field name="JPG Done" start="21" end="21" type="bool"/>
68289f464c52Smaya    <field name="VBP Done" start="22" end="22" type="bool"/>
68299f464c52Smaya    <field name="VHR Done" start="23" end="23" type="bool"/>
68309f464c52Smaya    <field name="VCI Done" start="24" end="24" type="bool"/>
68319f464c52Smaya    <field name="VCR Done" start="25" end="25" type="bool"/>
68329f464c52Smaya    <field name="VIN Done" start="26" end="26" type="bool"/>
68339f464c52Smaya    <field name="VPR Done" start="27" end="27" type="bool"/>
68349f464c52Smaya    <field name="VTQ Done" start="28" end="28" type="bool"/>
68359f464c52Smaya    <field name="Reserved" start="29" end="29" type="bool"/>
68369f464c52Smaya    <field name="VCS Done" start="30" end="30" type="bool"/>
68379f464c52Smaya    <field name="GAC Done" start="31" end="31" type="bool"/>
683801e04c3fSmrg  </register>
683901e04c3fSmrg
684001e04c3fSmrg  <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
684101e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
684201e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
684301e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
684401e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
684501e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
684601e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
684701e04c3fSmrg    </field>
684801e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
684901e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
685001e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
685101e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
685201e04c3fSmrg  </register>
685301e04c3fSmrg
68549f464c52Smaya  <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
68559f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
68569f464c52Smaya  </register>
68579f464c52Smaya
68589f464c52Smaya  <register name="VECS_INSTDONE" length="1" num="0x1a06c">
68599f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
68609f464c52Smaya    <field name="VECS Done" start="30" end="30" type="bool"/>
68619f464c52Smaya    <field name="GAM Done" start="31" end="31" type="bool"/>
68629f464c52Smaya  </register>
68639f464c52Smaya
68649f464c52Smaya  <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
686501e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
686601e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
686701e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
686801e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
686901e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
687001e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
687101e04c3fSmrg    </field>
687201e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
687301e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
687401e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
687501e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
687601e04c3fSmrg  </register>
687701e04c3fSmrg
68789f464c52Smaya  <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
68799f464c52Smaya    <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
688001e04c3fSmrg  </register>
688101e04c3fSmrg</genxml>
6882