diff --git a/src/vulkan/runtime/vk_drm_syncobj.c b/src/vulkan/runtime/vk_drm_syncobj.c index c444b5f3346..cef0561f0ed 100644 --- a/src/vulkan/runtime/vk_drm_syncobj.c +++ b/src/vulkan/runtime/vk_drm_syncobj.c @@ -222,7 +222,7 @@ vk_drm_syncobj_import_opaque_fd(struct vk_device *device, int err = drmSyncobjFDToHandle(device->drm_fd, fd, &new_handle); if (err) { return vk_errorf(device, VK_ERROR_UNKNOWN, - "DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD failed: %m"); + "DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE failed: %m"); } err = drmSyncobjDestroy(device->drm_fd, sobj->syncobj); diff --git a/src/vulkan/runtime/vk_sync.h b/src/vulkan/runtime/vk_sync.h index cd14ed6569a..ff493bd62c9 100644 --- a/src/vulkan/runtime/vk_sync.h +++ b/src/vulkan/runtime/vk_sync.h @@ -51,7 +51,7 @@ enum vk_sync_features { * vk_sync types. This is used to by the threaded submit mode to ensure * that everything gets submitted to the kernel driver in-order. * - * A vk_sync is operates in binary mode if VK_SYNC_IS_TIMELINE is not set + * A vk_sync operates in binary mode if VK_SYNC_IS_TIMELINE is not set * in vk_sync::flags. */ VK_SYNC_FEATURE_BINARY = (1 << 0), @@ -72,7 +72,7 @@ enum vk_sync_features { * submit to re-order things so that the kernel requests happen in a valid * linear order. * - * A vk_sync is operates in binary mode if VK_SYNC_IS_TIMELINE is set in + * A vk_sync operates in timeline mode if VK_SYNC_IS_TIMELINE is set in * vk_sync::flags. */ VK_SYNC_FEATURE_TIMELINE = (1 << 1),