anv: remove BDW specific WA for CS stall enable

This note is in BDW specs but not anymore in gfx9+ specs.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23543>
This commit is contained in:
Tapani Pälli 2023-06-09 10:10:24 +03:00 committed by Marge Bot
parent 386c7a5158
commit a4bb6d7c72

View file

@ -1622,29 +1622,6 @@ genX(emit_apply_pipe_flushes)(struct anv_batch *batch,
pipe.Address = device->workaround_address;
}
/*
* According to the Broadwell documentation, any PIPE_CONTROL with the
* "Command Streamer Stall" bit set must also have another bit set,
* with five different options:
*
* - Render Target Cache Flush
* - Depth Cache Flush
* - Stall at Pixel Scoreboard
* - Post-Sync Operation
* - Depth Stall
* - DC Flush Enable
*
* I chose "Stall at Pixel Scoreboard" since that's what we use in
* mesa and it seems to work fine. The choice is fairly arbitrary.
*/
if (pipe.CommandStreamerStallEnable &&
!pipe.RenderTargetCacheFlushEnable &&
!pipe.DepthCacheFlushEnable &&
!pipe.StallAtPixelScoreboard &&
!pipe.PostSyncOperation &&
!pipe.DepthStallEnable &&
!pipe.DCFlushEnable)
pipe.StallAtPixelScoreboard = true;
anv_debug_dump_pc(pipe);
}