Mesa (main): panvk: quiet non-conformant warning on ci

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 26 14:11:19 UTC 2022


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Apr 19 14:51:03 2022 +0200

panvk: quiet non-conformant warning on ci

This helper has built-in support to be quieted, which seems like a good
idea to do on ci.

We're already setting the env var in the CI environment, so no need to
do that here.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16033>

---

 src/panfrost/vulkan/panvk_device.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/panfrost/vulkan/panvk_device.c b/src/panfrost/vulkan/panvk_device.c
index 5a084e17ab5..e9daa311a8e 100644
--- a/src/panfrost/vulkan/panvk_device.c
+++ b/src/panfrost/vulkan/panvk_device.c
@@ -342,8 +342,7 @@ panvk_physical_device_init(struct panvk_physical_device *device,
       goto fail_close_device;
    }
 
-   fprintf(stderr, "WARNING: panvk is not a conformant vulkan implementation, "
-                   "testing use only.\n");
+   vk_warn_non_conformant_implementation("panvk");
 
    panvk_get_driver_uuid(&device->device_uuid);
    panvk_get_device_uuid(&device->device_uuid);



More information about the mesa-commit mailing list