iris: don't synchronize BO for batch decoding
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 23 Mar 2022 09:10:08 +0000 (11:10 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 24 Mar 2022 04:59:44 +0000 (04:59 +0000)
commita55cc061fd08a5d7a02e27accdeca98193fa2468
tree31fbb7d0d05f02fc3116d2746f66c81cde9fadad
parent729f95a11025804c23ab28d677ab15996fa1a8c4
iris: don't synchronize BO for batch decoding

We don't need to go to the kernel to synchronize the BO we want to
decode with INTEL_DEBUG=bat, mostly because we'll decode what was
written by the driver in the batch.

This also works around an issue in the simulation environment.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9ac81f189050 ("iris: decoder fixes")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15517>
src/gallium/drivers/iris/iris_batch.c