anv: Write timestamp using MI_FLUSH_DW on blitter
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 9 Nov 2023 01:33:40 +0000 (17:33 -0800)
committerEric Engestrom <eric@engestrom.ch>
Wed, 15 Nov 2023 16:36:24 +0000 (16:36 +0000)
commitbbf099223efa728dd5de03118bceb4ead24c71c9
tree9defa214ec676a266c5838a91e2528533a008931
parent828b3966fa5e4358006968ed33d173a38c8409cd
anv: Write timestamp using MI_FLUSH_DW on blitter

On Blitter engine, we don't support PIPE_CONTROL, we have to update
memory locations using the MI_FLUSH_DW command.

v2:
- Handle video queue (Lionel)

Fixes: 056b0cb87f2 ("anv: add video engine support in various places")
Fixes: 5112b421462 ("anv: Handle end of pipe with MI_FLUSH_DW on transfer queue")

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26121>
(cherry picked from commit 8c9a7f77303b5acb4555a8c41b897da891fbe2da)
.pick_status.json
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_query.c