summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2020-12-29 14:44:02 +1000
committerMarge Bot <eric+marge@anholt.net>2021-05-05 02:56:20 +0000
commit4d80ec8fcfaad3f8e29aeb1f2e07042333ebcb6b (patch)
tree584c84c93cb96288bc2614a95673d88a2b79dc2d
parente5169714ea6ce26bfb55dcbca47db2aa7da6927c (diff)
intel/genxml: fix raster op fields on gen4/5
These should be unsigned integers Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10636>
-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 b6be2b28ca7..d0d3c3c7d78 100644
--- a/src/intel/genxml/gen4.xml
+++ b/src/intel/genxml/gen4.xml
@@ -1026,7 +1026,7 @@
<field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
<field name="Command Type" start="29" end="31" type="uint" default="2"/>
<field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Raster Operation" start="48" end="55" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="uint"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml
index 7931f0d7ddf..9045d58b9ec 100644
--- a/src/intel/genxml/gen45.xml
+++ b/src/intel/genxml/gen45.xml
@@ -1059,7 +1059,7 @@
<field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
<field name="Command Type" start="29" end="31" type="uint" default="2"/>
<field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Raster Operation" start="48" end="55" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="uint"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index 64b561a3746..f2a3402821d 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -1137,7 +1137,7 @@
<field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
<field name="Command Type" start="29" end="31" type="uint" default="2"/>
<field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Raster Operation" start="48" end="55" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="uint"/>
<field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>