blorp: fix hangs with mesh enabled
authorIván Briano <ivan.briano@intel.com>
Thu, 24 Aug 2023 17:20:31 +0000 (10:20 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 02:51:31 +0000 (02:51 +0000)
commitbcde58ea86e048b8aec5459294b46daf97f85a0d
tree1d96b94b259c9b65dfaf77532606550adca46064
parent079604e41efe001ab560fa68850f54475589f801
blorp: fix hangs with mesh enabled

Move mesh URB allocations together with the other stages.

This fixes a hang that started happening with mesh enabled after
419531c5d98 ("intel/blorp: add a new flag to communicate PSS sync need")

Bspec 45352 says:
  L3 Space allocation can only be changed when the GPU pipeline is
  completely flushed.

It's likely that the PIPE_CONTROL added in that commit was breaking that
assumption and the URB allocation happening afterwards at the end of the
pipeline emission would then hang. And before that, we were probably
just getting lucky.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25047>
src/intel/blorp/blorp_genX_exec.h