summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-03-14 16:22:00 -0700
committerJason Ekstrand <[email protected]>2017-03-17 15:31:19 -0700
commit1d5f4f46dae0fd809cec593683bb89dc745e15ae (patch)
tree84cddf4c7ec0eeb4c6e84c54f1c2a230635585bf
parentced61fd53e0293043f803689d796780032426152 (diff)
genxml: Make MI_STORE_DATA_IMM have a single 64-bit data field
This is way more convenient than having two separate dword fields. Reviewed-By: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/genxml/gen6.xml3
-rw-r--r--src/intel/genxml/gen7.xml3
-rw-r--r--src/intel/genxml/gen75.xml3
-rw-r--r--src/intel/genxml/gen8.xml3
-rw-r--r--src/intel/genxml/gen9.xml3
-rw-r--r--src/intel/vulkan/genX_query.c3
6 files changed, 6 insertions, 12 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 396d53601dc..da3f64d3f0b 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -1806,8 +1806,7 @@
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
<field name="Address" start="66" end="95" type="address"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
- <field name="Data DWord 0" start="96" end="127" type="uint"/>
- <field name="Data DWord 1" start="128" end="159" type="uint"/>
+ <field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index 7ef3158657a..3f3b1882218 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -2317,8 +2317,7 @@
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
<field name="Address" start="66" end="95" type="address"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
- <field name="Data DWord 0" start="96" end="127" type="uint"/>
- <field name="Data DWord 1" start="128" end="159" type="uint"/>
+ <field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 75d9d980d25..91fe02f048f 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -2710,8 +2710,7 @@
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
<field name="Address" start="66" end="95" type="address"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
- <field name="Data DWord 0" start="96" end="127" type="uint"/>
- <field name="Data DWord 1" start="128" end="159" type="uint"/>
+ <field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index c3830ebed0f..f9899c68423 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -2981,8 +2981,7 @@
<field name="DWord Length" start="0" end="9" type="uint" default="2"/>
<field name="Address" start="34" end="79" type="address"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
- <field name="Data DWord 0" start="96" end="127" type="uint"/>
- <field name="Data DWord 1" start="128" end="159" type="uint"/>
+ <field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index e98559ac73f..bfe49320b03 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -3256,8 +3256,7 @@
<field name="DWord Length" start="0" end="9" type="uint" default="2"/>
<field name="Address" start="34" end="79" type="address"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
- <field name="Data DWord 0" start="96" end="127" type="uint"/>
- <field name="Data DWord 1" start="128" end="159" type="uint"/>
+ <field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c
index 41122a437f3..2bbca66cebc 100644
--- a/src/intel/vulkan/genX_query.c
+++ b/src/intel/vulkan/genX_query.c
@@ -283,8 +283,7 @@ void genX(CmdResetQueryPool)(
.bo = &pool->bo,
.offset = (firstQuery + i) * pool->stride,
};
- sdm.DataDWord0 = 0;
- sdm.DataDWord1 = 0;
+ sdm.ImmediateData = 0;
}
}
}