summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2017-06-13 16:47:51 -0700
committerRafael Antognolli <rafael.antognolli@intel.com>2017-06-21 10:16:05 -0700
commitce728594fdc7179d4b346ab342535de84179f172 (patch)
treeef9a1af10a4af336a1e14d4e1bb7fefd9fc77b5f /src/intel
parent44415056e7b5cb0137ccc843ab0a4c803d1a38c8 (diff)
intel/genxml: Normalize URB Data field in WM_STATE.
On gen6+, this is called "Dispatch GRF Start Register For Constant/Setup Data 0", while on gen5 and lower it's called only "Dispatch GRF Start Register For URB Data", but it's essentially the same thing (URB data), so rename it to match newer gens and simplify the C code that handles it. Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/genxml/gen4.xml2
-rw-r--r--src/intel/genxml/gen45.xml2
-rw-r--r--src/intel/genxml/gen5.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml
index f4ca3f09ec9..6f6f1bfeb09 100644
--- a/src/intel/genxml/gen4.xml
+++ b/src/intel/genxml/gen4.xml
@@ -783,7 +783,7 @@
<field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
<field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
<field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
<field name="Sampler State Pointer" start="133" end="159" type="address"/>
<field name="Sampler Count" start="130" end="132" type="uint"/>
<field name="Statistics Enable" start="128" end="128" type="bool"/>
diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml
index 5c221b78432..7b2f7698274 100644
--- a/src/intel/genxml/gen45.xml
+++ b/src/intel/genxml/gen45.xml
@@ -798,7 +798,7 @@
<field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
<field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
<field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
<field name="Sampler State Pointer" start="133" end="159" type="address"/>
<field name="Sampler Count" start="130" end="132" type="uint"/>
<field name="Statistics Enable" start="128" end="128" type="bool"/>
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index 28d9dd501eb..44dd0d10aa3 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -893,7 +893,7 @@
<field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
<field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
<field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
<field name="Sampler State Pointer" start="133" end="159" type="address"/>
<field name="Sampler Count" start="130" end="132" type="uint"/>
<field name="Statistics Enable" start="128" end="128" type="bool"/>