anv,hasvk: Use vk_drm_syncobj_copy_payloads

Acked-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36827>
This commit is contained in:
Faith Ekstrand 2025-08-15 11:39:24 -04:00 committed by Marge Bot
parent 4827ba625d
commit e0c30b0fc2
2 changed files with 2 additions and 0 deletions

View file

@ -421,6 +421,7 @@ VkResult anv_CreateDevice(
UNREACHABLE("Missing");
}
device->vk.copy_sync_payloads = vk_drm_syncobj_copy_payloads;
device->vk.command_buffer_ops = &anv_cmd_buffer_ops;
vk_device_set_drm_fd(&device->vk, device->fd);

View file

@ -2494,6 +2494,7 @@ VkResult anv_CreateDevice(
device->vk.command_buffer_ops = &anv_cmd_buffer_ops;
device->vk.check_status = anv_device_check_status;
device->vk.get_timestamp = anv_device_get_timestamp;
device->vk.copy_sync_payloads = vk_drm_syncobj_copy_payloads;
vk_device_set_drm_fd(&device->vk, device->fd);
uint32_t num_queues = 0;