From 58aa920706c27b197b0a4e7df4dacdcf6d97f0cd Mon Sep 17 00:00:00 2001 From: Hyunjun Ko Date: Fri, 3 Dec 2021 08:50:57 +0000 Subject: [PATCH] vulkan: fix typo Signed-off-by: Hyunjun Ko Reviewed-by: Danylo Piliaiev Reviewed-by: Jason Ekstrand Part-of: --- src/vulkan/runtime/vk_drm_syncobj.c | 2 +- src/vulkan/runtime/vk_sync.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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),