intel/genxml/gen12.5: Pipe_Control::Remove Global Snapshot Count Reset
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 26 Dec 2022 19:40:39 +0000 (11:40 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 29 Dec 2022 16:34:25 +0000 (08:34 -0800)
It was not meant to be used(Iris have assert for it) and it was
removed from Pipe_Control instruction in gen12.5 and newer.

BSpec: 47112
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20444>

src/gallium/drivers/iris/iris_state.c
src/intel/genxml/gen125.xml

index d188817..e85cb30 100644 (file)
@@ -8274,8 +8274,10 @@ iris_emit_raw_pipe_control(struct iris_batch *batch,
       pc.DCFlushEnable = flags & PIPE_CONTROL_DATA_CACHE_FLUSH;
       pc.StoreDataIndex = 0;
       pc.CommandStreamerStallEnable = flags & PIPE_CONTROL_CS_STALL;
+#if GFX_VERx10 < 125
       pc.GlobalSnapshotCountReset =
          flags & PIPE_CONTROL_GLOBAL_SNAPSHOT_COUNT_RESET;
+#endif
       pc.TLBInvalidate = flags & PIPE_CONTROL_TLB_INVALIDATE;
       pc.GenericMediaStateClear = flags & PIPE_CONTROL_MEDIA_STATE_CLEAR;
       pc.StallAtPixelScoreboard = flags & PIPE_CONTROL_STALL_AT_SCOREBOARD;
index 1cb5d11..d8ab604 100644 (file)
     <field name="Generic Media State Clear" start="48" end="48" type="bool" />
     <field name="PSS Stall Sync Enable" start="49" end="49" type="bool" />
     <field name="TLB Invalidate" start="50" end="50" type="bool" />
-    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool" />
     <field name="Command Streamer Stall Enable" start="52" end="52" type="bool" />
     <field name="Store Data Index" start="53" end="53" type="uint" />
     <field name="Protected Memory Enable" start="54" end="54" type="bool" />