mesa/src/intel/vulkan/i915
Paulo Zanoni a8f7d26c2b anv: change the vm_bind-related kmd_backend vfuncs to return VkResult
All these vfuncs funnel down to either stubs or the xe_vm_bind_op()
function. By returning int we're shifting VkResult generation to the
callers, which are simply not doing the correct job. If they get
VkResult they can simply throw the errors up the stack without having
to erroneously try to figure out what really happened.

Today the callers are returning either VK_ERROR_UNKNOWN or
VK_ERROR_OUT_OF_DEVICE_MEMORY, but after the patch we're returning
either VK_ERROR_OUT_OF_HOST_MEMORY or VK_ERROR_DEVICE_LOST.

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27926>
2024-03-08 23:14:09 +00:00
..
anv_batch_chain.c anv: move aux-tt to general state pool 2024-02-29 07:05:06 +00:00
anv_batch_chain.h anv/trtt: add struct anv_trtt_batch_bo and pass it around 2023-11-17 17:58:29 +00:00
anv_device.c intel: Move intel_define.h to i915/intel_define.h 2024-02-21 18:10:54 +00:00
anv_device.h anv: create individual logical engines on i915 when possible 2023-09-07 06:39:06 +00:00
anv_gem.c anv: Move i915 handling of imported bos bo_flags 2023-09-13 13:10:59 -07:00
anv_gem.h anv: Move i915 handling of imported bos bo_flags 2023-09-13 13:10:59 -07:00
anv_kmd_backend.c anv: change the vm_bind-related kmd_backend vfuncs to return VkResult 2024-03-08 23:14:09 +00:00
anv_queue.c anv: Create companion RCS engine 2023-09-07 06:39:06 +00:00
anv_queue.h anv: hide exec_flags selection inside the i915 backend 2023-07-13 17:12:26 +00:00