Mesa (main): vulkan: fix typo
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jan 13 04:24:02 UTC 2022
Module: Mesa
Branch: main
Commit: 58aa920706c27b197b0a4e7df4dacdcf6d97f0cd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58aa920706c27b197b0a4e7df4dacdcf6d97f0cd
Author: Hyunjun Ko <zzoon at igalia.com>
Date: Fri Dec 3 08:50:57 2021 +0000
vulkan: fix typo
Signed-off-by: Hyunjun Ko <zzoon at igalia.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev at igalia.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14105>
---
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),
More information about the mesa-commit
mailing list