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

Author: Faith Ekstrand <[email protected]>
Date:   Sun Dec 10 10:23:16 2023 -0600

nvk: Throw Tegra behind NVK_I_WANT_A_BROKEN_VULKAN_DRIVER

It's recieved very little testing and what testing it has recieved
indicates that synchronization is pretty badly broken.  Let's turn it
off for users by default right now.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26627>

---

 src/nouveau/vulkan/nvk_physical_device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nouveau/vulkan/nvk_physical_device.c 
b/src/nouveau/vulkan/nvk_physical_device.c
index 1d8013a6bb4..01f0a30f49c 100644
--- a/src/nouveau/vulkan/nvk_physical_device.c
+++ b/src/nouveau/vulkan/nvk_physical_device.c
@@ -895,7 +895,8 @@ nvk_create_drm_physical_device(struct vk_instance 
*_instance,
    if (info.cls_eng3d < KEPLER_A)
       return VK_ERROR_INCOMPATIBLE_DRIVER;
 
-   if ((info.cls_eng3d < TURING_A || info.cls_eng3d > ADA_A) &&
+   if ((info.type != NV_DEVICE_TYPE_DIS ||
+        info.cls_eng3d < TURING_A || info.cls_eng3d > ADA_A) &&
        !debug_get_bool_option("NVK_I_WANT_A_BROKEN_VULKAN_DRIVER", false)) {
       return vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
                        "WARNING: NVK is not well-tested on %s, pass "

Reply via email to