mesa/src/intel
Dylan Baker ed8d1d3c9b anv: if queue is NULL in vm_bind return early
In the error handling path we end up creating a vk_sync and then later
we vk_sync_wait() on it. If that wait fails somehow we'll end up calling
vk_queue_set_lost(&queue->vk, ...) which would segfault if queue is
NULL.

If we end up in this situation (no queue), return directly whatever the
backend's vm_bind function returned, propagating the error up if
necessary.

Fixes: dd5362c78a ("anv/xe: try harder when the vm_bind ioctl fails")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31048>
2024-09-13 20:17:40 +00:00
..
blorp intel: Support any depth fast-clear value on Xe2 2024-08-27 06:15:36 +00:00
ci ci/intel: Officially switch intel-adl-cl to pre-merge 2024-09-12 15:40:03 +00:00
common intel: Remove INTEL_ENGINE_CLASS_COMPUTE and INTEL_ENGINE_CLASS_COPY parameters 2024-08-13 21:15:31 +00:00
compiler intel/brw: Use nir_opt_generate_bfi 2024-09-13 00:21:00 +00:00
decoder intel/decoder: Handle HCP_PAK_INSERT_OBJECT 2024-08-02 07:15:59 +00:00
dev intel/dev: Fix warning for max_threads_per_psd when devinfo->verx10 == 120 2024-09-10 03:21:12 +00:00
ds anv/hasvk: add indirect tracepoint arguments 2024-08-03 16:03:04 +03:00
executor intel/executor: Fix a couple of memory leaks in the tool 2024-09-13 01:21:24 +00:00
genxml anv,iris: prefix the argument format with XI for a upcoming refactor 2024-08-20 09:41:51 +00:00
isl intel/isl: Always set EnableUnormPathInColorPipe 2024-09-09 23:48:31 +00:00
nullhw-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
perf intel/perf: Fix intel_gem.h include 2024-09-04 10:04:38 -07:00
shaders meson: use glslang --depfile argument when possible 2024-05-20 17:34:17 +00:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
vulkan anv: if queue is NULL in vm_bind return early 2024-09-13 20:17:40 +00:00
vulkan_hasvk hasvk: enable VK_KHR_shader_relaxed_extended_instruction 2024-09-09 17:46:32 +00:00
meson.build intel: Add executor tool 2024-08-14 03:03:46 +00:00