mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
anv: Only add END_OF_PIPE_SYNC if we actually have AUX_INVAL
Fixes: 43dc842cb9 "anv: Wait for the GPU to be idle before..."
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: D Scott Phillips <d.scott.phillips@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4234>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4234>
This commit is contained in:
parent
5b57aa79e2
commit
3252041a78
1 changed files with 1 additions and 1 deletions
|
|
@ -2042,7 +2042,7 @@ genX(cmd_buffer_apply_pipe_flushes)(struct anv_cmd_buffer *cmd_buffer)
|
|||
* add extra flushes in the case it knows that the engine is already
|
||||
* IDLE."
|
||||
*/
|
||||
if (GEN_GEN == 12 && ANV_PIPE_AUX_TABLE_INVALIDATE_BIT)
|
||||
if (GEN_GEN == 12 && (bits & ANV_PIPE_AUX_TABLE_INVALIDATE_BIT))
|
||||
bits |= ANV_PIPE_NEEDS_END_OF_PIPE_SYNC_BIT;
|
||||
|
||||
/* If we're going to do an invalidate and we have a pending end-of-pipe
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue