intel/genxml: Allow MI_FLUSH_DW on the blitter
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Sep 2020 09:38:35 +0000 (02:38 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 28 Oct 2021 21:17:32 +0000 (14:17 -0700)
Pretty sure this is how you flush the blitter.

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13520>

src/intel/genxml/gen11.xml
src/intel/genxml/gen12.xml
src/intel/genxml/gen125.xml

index 1c9a28c..1b4a00e 100644 (file)
     <field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
   </instruction>
 
-  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
+  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="blitter|video">
     <field name="DWord Length" start="0" end="5" type="uint"/>
     <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
     <field name="Notify Enable" start="8" end="8" type="bool"/>
index 5cf96e6..97a4e19 100644 (file)
     <field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
   </instruction>
 
-  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
-    <field name="DWord Length" start="0" end="5" type="uint"/>
+  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="blitter|video">
+    <field name="DWord Length" start="0" end="5" type="uint" default="3"/>
     <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
     <field name="Notify Enable" start="8" end="8" type="bool"/>
     <field name="Flush LLC" start="9" end="9" type="bool"/>
index 346c05d..bece8f0 100644 (file)
     <field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
   </instruction>
 
-  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
+  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="blitter|video">
     <field name="DWord Length" start="0" end="5" type="uint"/>
     <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
     <field name="Notify Enable" start="8" end="8" type="bool"/>