iris: Destroy batch contexts in a single place
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 11 Nov 2022 16:04:31 +0000 (08:04 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Nov 2022 13:38:30 +0000 (13:38 +0000)
commitd6c58f54460394314afef7e20e75b41d3be32eeb
tree562f54858ed99de6ba8a339f699237c7812cdce2
parentcd159c7d6c18d1bbde019fda68cc17922389a767
iris: Destroy batch contexts in a single place

While at it also moving has_engines_context to iris_context, no need
to have this information replicated into every iris_batch.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19687>
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_context.h