panvk: skip tiler subqueue self-wait within a render pass
IDVS jobs within a render pass use the same scoreboard slot. There is no need to wait. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32074>
This commit is contained in:
@@ -385,6 +385,12 @@ collect_cs_deps(struct panvk_cmd_buffer *cmdbuf,
|
||||
if (should_split_render_pass(wait_masks)) {
|
||||
deps->needs_draw_flush = true;
|
||||
} else {
|
||||
/* skip the tiler subqueue self-wait because we use the same
|
||||
* scoreboard slot for the idvs jobs
|
||||
*/
|
||||
wait_masks[PANVK_SUBQUEUE_VERTEX_TILER] &=
|
||||
~BITFIELD_BIT(PANVK_SUBQUEUE_VERTEX_TILER);
|
||||
|
||||
/* skip the fragment subqueue self-wait because we emit the fragment
|
||||
* job at the end of the render pass and there is nothing to wait yet
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user