panvk: do not require opt-in for panvk on v10
As of writing, PanVK on v10 HW is in pretty good shape. It's not yet conformant, but we were passing over 99.9% of the CTS last time I checked. That's probably good enough to drop the opt-in here. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32561>
This commit is contained in:
committed by
Marge Bot
parent
12067727fa
commit
976eb6825e
@@ -75,14 +75,6 @@ create_kmod_dev(struct panvk_physical_device *device,
|
|||||||
|
|
||||||
drmFreeVersion(version);
|
drmFreeVersion(version);
|
||||||
|
|
||||||
if (!getenv("PAN_I_WANT_A_BROKEN_VULKAN_DRIVER")) {
|
|
||||||
close(fd);
|
|
||||||
return panvk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
|
||||||
"WARNING: panvk is not well-tested, pass "
|
|
||||||
"PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 "
|
|
||||||
"if you know what you're doing.");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (instance->debug_flags & PANVK_DEBUG_STARTUP)
|
if (instance->debug_flags & PANVK_DEBUG_STARTUP)
|
||||||
vk_logi(VK_LOG_NO_OBJS(instance), "Found compatible device '%s'.", path);
|
vk_logi(VK_LOG_NO_OBJS(instance), "Found compatible device '%s'.", path);
|
||||||
|
|
||||||
@@ -876,6 +868,15 @@ panvk_physical_device_init(struct panvk_physical_device *device,
|
|||||||
switch (arch) {
|
switch (arch) {
|
||||||
case 6:
|
case 6:
|
||||||
case 7:
|
case 7:
|
||||||
|
if (!getenv("PAN_I_WANT_A_BROKEN_VULKAN_DRIVER")) {
|
||||||
|
result = panvk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
||||||
|
"WARNING: panvk is not well-tested on v%d, "
|
||||||
|
"pass PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 "
|
||||||
|
"if you know what you're doing.", arch);
|
||||||
|
goto fail;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 10:
|
case 10:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user