<p dir="ltr"><br>
On Oct 20, 2016 3:56 AM, "Lionel Landwerlin" <<a href="mailto:llandwerlin@gmail.com">llandwerlin@gmail.com</a>> wrote:<br>
><br>
> One of the register we happen to program but don't have a description for<br>
> yet.</p>
<p dir="ltr">Heh... I've got more-or less this same patch in my tree...</p>
<p dir="ltr">> v2: Add SO_WRITE_OFFSET[1-3] on gen7+ (Kenneth)<br>
><br>
> Signed-off-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a>><br>
> ---<br>
> src/intel/genxml/gen6.xml | 5 +++++<br>
> src/intel/genxml/gen7.xml | 20 ++++++++++++++++++++<br>
> src/intel/genxml/gen75.xml | 20 ++++++++++++++++++++<br>
> src/intel/genxml/gen8.xml | 20 ++++++++++++++++++++<br>
> src/intel/genxml/gen9.xml | 20 ++++++++++++++++++++<br>
> 5 files changed, 85 insertions(+)<br>
><br>
> diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml<br>
> index 7ba8954..b907710 100644<br>
> --- a/src/intel/genxml/gen6.xml<br>
> +++ b/src/intel/genxml/gen6.xml<br>
> @@ -1995,4 +1995,9 @@<br>
> <field name="System Instruction Pointer" start="36" end="63" type="offset"/><br>
> </instruction><br>
><br>
> + <register name="SO_WRITE_OFFSET" length="1" num="0x5280"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/></p>
<p dir="ltr">As I said in the clear colors patch, please don't include reserved must-be-zero fields in the XML. Any unspecified bits are zero be definition.</p>
<p dir="ltr">> + </register><br>
> +<br>
> </genxml><br>
> diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml<br>
> index a950603..c147f04 100644<br>
> --- a/src/intel/genxml/gen7.xml<br>
> +++ b/src/intel/genxml/gen7.xml<br>
> @@ -2528,6 +2528,26 @@<br>
> <field name="SW Tessellation Memory Object Control State" start="40" end="43" type="MEMORY_OBJECT_CONTROL_STATE"/><br>
> </instruction><br>
><br>
> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528C"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> <register name="L3SQCREG1" length="1" num="0xb010"><br>
> <field name="Convert DC_UC" start="24" end="24" type="uint"/><br>
> <field name="Convert IS_UC" start="25" end="25" type="uint"/><br>
> diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml<br>
> index 2c522d5..df2316c 100644<br>
> --- a/src/intel/genxml/gen75.xml<br>
> +++ b/src/intel/genxml/gen75.xml<br>
> @@ -2936,6 +2936,26 @@<br>
> <field name="SW Tessellation Memory Object Control State" start="40" end="43" type="MEMORY_OBJECT_CONTROL_STATE"/><br>
> </instruction><br>
><br>
> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528C"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> <register name="L3SQCREG1" length="1" num="0xb010"><br>
> <field name="Convert DC_UC" start="24" end="24" type="uint"/><br>
> <field name="Convert IS_UC" start="25" end="25" type="uint"/><br>
> diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml<br>
> index 73c9265..10bb8f3 100644<br>
> --- a/src/intel/genxml/gen8.xml<br>
> +++ b/src/intel/genxml/gen8.xml<br>
> @@ -3167,6 +3167,26 @@<br>
> <field name="SW Tessellation Memory Object Control State" start="40" end="43" type="MEMORY_OBJECT_CONTROL_STATE"/><br>
> </instruction><br>
><br>
> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528C"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> <register name="L3CNTLREG" length="1" num="0x7034"><br>
> <field name="SLM Enable" start="0" end="0" type="uint"/><br>
> <field name="URB Allocation" start="1" end="7" type="uint"/><br>
> diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml<br>
> index 0dfce3f..9dd9197 100644<br>
> --- a/src/intel/genxml/gen9.xml<br>
> +++ b/src/intel/genxml/gen9.xml<br>
> @@ -3441,6 +3441,26 @@<br>
> <field name="System Instruction Pointer" start="36" end="95" type="offset"/><br>
> </instruction><br>
><br>
> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528C"><br>
> + <field name="Write Offset" start="2" end="31" type="uint"/><br>
> + <field name="Reserved" start="0" end="1" type="uint"/><br>
> + </register><br>
> +<br>
> <register name="L3CNTLREG" length="1" num="0x7034"><br>
> <field name="SLM Enable" start="0" end="0" type="uint"/><br>
> <field name="URB Allocation" start="1" end="7" type="uint"/><br>
> --<br>
> 2.9.3<br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br></p>