89d2cdad37
MTL has different CS prefetch sizes for each CS type. So here replacing the cs_prefetch_size in intel_device_info struct by a function that takes as argument the i915 engine class. Fixes: - func.cmd-buffer.small-secondaries.q0 - dEQP-VK.multiview.secondary_cmd_buffer.* - Several other VK CTS tests that uses secondary_cmd_buffer v2: - renamed to intel_device_info_get_engine_prefetch() (Jordan) v3: - renamed to intel_device_info_calc_engine_prefetch() - store each engine class prefetch in intel_device_info BSpec: 45718 Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18597>