f3b15143d2
We can use I915_DEFINE_CONTEXT_PARAM_ENGINES() to simply the filling of engines_param. As some compilers might not support VLA, defining struct with 64 engines, the maximum that i915 API supports. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17961>