[Mesa-dev] [PATCH 3/5] genxml: Expand SKL's SurfaceFormat field width for ASTC

Nanley Chery nanleychery at gmail.com
Thu May 19 00:32:42 UTC 2016


From: Nanley Chery <nanley.g.chery at intel.com>

In the expanded field, only ASTC format enums have the MSB set to 1.
Expanding the field width makes the process of handling these formats
identical to the way other formats are handled.

Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
 src/intel/genxml/gen9.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index bc2639a..a28c3b2 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -261,8 +261,7 @@
       <value name="SURFTYPE_NULL" value="7"/>
     </field>
     <field name="Surface Array" start="28" end="28" type="bool"/>
-    <field name="ASTC_Enable" start="27" end="27" type="bool"/>
-    <field name="Surface Format" start="18" end="26" type="uint"/>
+    <field name="Surface Format" start="18" end="27" type="uint"/>
     <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
       <value name="VALIGN 4" value="1"/>
       <value name="VALIGN 8" value="2"/>
-- 
2.8.2



More information about the mesa-dev mailing list