Mesa (master): vulkan: Allow global symbol HMI for Android
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Aug 5 18:25:46 UTC 2020
Module: Mesa
Branch: master
Commit: a7fe711a30f1c32d4e1e187a9a240be5b9527be6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7fe711a30f1c32d4e1e187a9a240be5b9527be6
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Wed Jul 29 12:51:49 2020 -0700
vulkan: Allow global symbol HMI for Android
Android looks for this symbol when loading HAL modules.
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
---
src/vulkan/vulkan-icd-symbols.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/vulkan/vulkan-icd-symbols.txt b/src/vulkan/vulkan-icd-symbols.txt
index feca419c0ca..b463ca83ae6 100644
--- a/src/vulkan/vulkan-icd-symbols.txt
+++ b/src/vulkan/vulkan-icd-symbols.txt
@@ -12,3 +12,8 @@ vk_icdNegotiateLoaderICDInterfaceVersion
# Version 4 - Add unknown physical device extension querying via
# vk_icdGetPhysicalDeviceProcAddr.
(optional) vk_icdGetPhysicalDeviceProcAddr
+
+# Andoid looks for this global in HAL modules. In the source it occurs
+# as HAL_MODULE_INFO_SYM (which is just a #define for HMI) and it's an
+# instance of struct hwvulkan_module_t.
+(optional) HMI
More information about the mesa-commit
mailing list