venus: be verbose about which physical devices are skipped
authorChia-I Wu <olvaffe@gmail.com>
Tue, 15 Jun 2021 00:27:23 +0000 (17:27 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Jun 2021 18:20:41 +0000 (18:20 +0000)
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11369>

src/virtio/vulkan/vn_device.c

index 4aa3628..206675f 100644 (file)
@@ -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;