mesa/src/intel/vulkan/xe
Paulo Zanoni 10ee2a510a anv/xe: rename and refactor xe_exec_fill_sync()
While it lived inside anv_batch_chain.c it made sense to call this
function xe_exec_fill_sync() because, well, the function was used to
fill the sync objects for the xe execbuf ioctl. Now that the function
is exported to the .h file and accessible to the rest of the driver,
let's give it a name that reflects what it does instead of what it was
used for when it was static: call it vk_sync_to_drm_xe_sync() because
it converts a vk_sync to a drm_xe_sync.

Also let's bikeshed the implementation so that it returns the struct
it builds: this should make callers cleaner and easier to understand.

No functional changes, only bikeshedding.

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/28792>
2024-04-18 19:42:27 +00:00
..
anv_batch_chain.c anv/xe: rename and refactor xe_exec_fill_sync() 2024-04-18 19:42:27 +00:00
anv_batch_chain.h anv/xe: rename and refactor xe_exec_fill_sync() 2024-04-18 19:42:27 +00:00
anv_device.c anv: Set VM control to true in Xe KMD 2024-03-14 15:53:22 +00:00
anv_device.h anv: hide exec_flags selection inside the i915 backend 2023-07-13 17:12:26 +00:00
anv_kmd_backend.c anv/xe: rename and refactor xe_exec_fill_sync() 2024-04-18 19:42:27 +00:00
anv_queue.c intel: Sync xe_drm.h take 2 part 3 2023-12-06 17:35:23 +00:00
anv_queue.h anv: Create Xe engines 2023-03-23 13:27:39 +00:00