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:
parent
386c7a5158
commit
a4bb6d7c72
1 changed files with 0 additions and 23 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue