[Mesa-dev] [PATCH 02/25] intel/genxml: Add SO_WRITE_OFFSET registers for gen7-9
Jason Ekstrand
jason at jlekstrand.net
Mon Oct 24 17:02:12 UTC 2016
On Mon, Oct 24, 2016 at 8:22 AM, Jason Ekstrand <jason at jlekstrand.net>
wrote:
> On Oct 24, 2016 2:58 AM, "Lionel Landwerlin" <
> lionel.g.landwerlin at intel.com> wrote:
> >
> > Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> >
> > Would adding the single register for gen6 makes sense?
>
> It's not needed for this series but it wouldn't hurt. I'll add it to the
> patch.
>
Upon further inspection, that register appears to not exist on gen6.
> > On 22/10/16 18:50, Jason Ekstrand wrote:
> >>
> >> ---
> >> src/intel/genxml/gen7.xml | 16 ++++++++++++++++
> >> src/intel/genxml/gen75.xml | 16 ++++++++++++++++
> >> src/intel/genxml/gen8.xml | 16 ++++++++++++++++
> >> src/intel/genxml/gen9.xml | 16 ++++++++++++++++
> >> 4 files changed, 64 insertions(+)
> >>
> >> diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
> >> index a950603..8461bd0 100644
> >> --- a/src/intel/genxml/gen7.xml
> >> +++ b/src/intel/genxml/gen7.xml
> >> @@ -2555,4 +2555,20 @@
> >> <field name="T Low Bandwidth" start="21" end="21" type="uint"/>
> >> </register>
> >> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> </genxml>
> >> diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
> >> index 2c522d5..168c5cc 100644
> >> --- a/src/intel/genxml/gen75.xml
> >> +++ b/src/intel/genxml/gen75.xml
> >> @@ -2971,4 +2971,20 @@
> >> <field name="L3 Atomic Disable Mask" start="22" end="22"
> type="uint"/>
> >> </register>
> >> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> </genxml>
> >> diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
> >> index 73c9265..07672ba 100644
> >> --- a/src/intel/genxml/gen8.xml
> >> +++ b/src/intel/genxml/gen8.xml
> >> @@ -3175,4 +3175,20 @@
> >> <field name="All Allocation" start="25" end="31" type="uint"/>
> >> </register>
> >> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> </genxml>
> >> diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
> >> index 0dfce3f..3ddf63d 100644
> >> --- a/src/intel/genxml/gen9.xml
> >> +++ b/src/intel/genxml/gen9.xml
> >> @@ -3449,4 +3449,20 @@
> >> <field name="All Allocation" start="25" end="31" type="uint"/>
> >> </register>
> >> + <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> + <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
> >> + <field name="Write Offset" start="2" end="31" type="offset"/>
> >> + </register>
> >> +
> >> </genxml>
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161024/be6e21a3/attachment-0001.html>
More information about the mesa-dev
mailing list