mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 04:38:09 +02:00
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> |
||
|---|---|---|
| .. | ||
| anv_batch_chain.c | ||
| anv_batch_chain.h | ||
| anv_device.c | ||
| anv_device.h | ||
| anv_kmd_backend.c | ||
| anv_queue.c | ||
| anv_queue.h | ||