asahi: Extend batch tracking for explicit sync
authorAsahi Lina <lina@asahilina.net>
Wed, 1 Mar 2023 09:23:10 +0000 (18:23 +0900)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Mar 2023 20:42:01 +0000 (20:42 +0000)
commit04387269dd3f054e2d1c9d99dc5650085dd417e9
treeeb188794ac209b9c28024b58ad540ee377e2591c
parentc41f10eb9ebf82f9d37f83ec0a182215600327cd
asahi: Extend batch tracking for explicit sync

Now that we have stub sync support in the submission API, we can
implement the batch tracking changes required to support an explicit
sync world. This excludes the UAPI-specific bits (command decoding and
status parsing).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21620>
src/asahi/.clang-format
src/gallium/drivers/asahi/agx_batch.c
src/gallium/drivers/asahi/agx_fence.c [new file with mode: 0644]
src/gallium/drivers/asahi/agx_fence.h [new file with mode: 0644]
src/gallium/drivers/asahi/agx_pipe.c
src/gallium/drivers/asahi/agx_state.h
src/gallium/drivers/asahi/meson.build