Mesa (main): venus: be verbose about which physical devices are skipped

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 15 18:29:47 UTC 2021


Module: Mesa
Branch: main
Commit: 17375c5d2dbb172f1e711d11bec5069cd427ef6e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17375c5d2dbb172f1e711d11bec5069cd427ef6e

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon Jun 14 17:27:23 2021 -0700

venus: be verbose about which physical devices are skipped

Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11369>

---

 src/virtio/vulkan/vn_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/virtio/vulkan/vn_device.c b/src/virtio/vulkan/vn_device.c
index 4aa36283afc..206675f6adf 100644
--- a/src/virtio/vulkan/vn_device.c
+++ b/src/virtio/vulkan/vn_device.c
@@ -1680,8 +1680,8 @@ vn_physical_device_init_renderer_version(
       instance, vn_physical_device_to_handle(physical_dev), &props);
    if (props.apiVersion < VN_MIN_RENDERER_VERSION) {
       if (VN_DEBUG(INIT)) {
-         vn_log(instance, "unsupported renderer device version %d.%d",
-                VK_VERSION_MAJOR(props.apiVersion),
+         vn_log(instance, "%s has unsupported renderer device version %d.%d",
+                props.deviceName, VK_VERSION_MAJOR(props.apiVersion),
                 VK_VERSION_MINOR(props.apiVersion));
       }
       return VK_ERROR_INITIALIZATION_FAILED;



More information about the mesa-commit mailing list