mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
anv: add an anv_pipe_bits bit to allow invalidating the TLB
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27928>
This commit is contained in:
parent
52ced4008c
commit
3e5dfd668d
2 changed files with 4 additions and 0 deletions
|
|
@ -3101,6 +3101,8 @@ enum anv_pipe_bits {
|
|||
*/
|
||||
ANV_PIPE_CCS_CACHE_FLUSH_BIT = (1 << 17),
|
||||
|
||||
ANV_PIPE_TLB_INVALIDATE_BIT = (1 << 18),
|
||||
|
||||
ANV_PIPE_CS_STALL_BIT = (1 << 20),
|
||||
ANV_PIPE_END_OF_PIPE_SYNC_BIT = (1 << 21),
|
||||
|
||||
|
|
|
|||
|
|
@ -2543,6 +2543,8 @@ genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
|||
|
||||
pipe.DepthStallEnable = bits & ANV_PIPE_DEPTH_STALL_BIT;
|
||||
|
||||
pipe.TLBInvalidate = bits & ANV_PIPE_TLB_INVALIDATE_BIT;
|
||||
|
||||
#if GFX_VERx10 >= 125
|
||||
pipe.PSSStallSyncEnable = bits & ANV_PIPE_PSS_STALL_SYNC_BIT;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue