From: Bas Nieuwenhuizen Date: Fri, 21 Dec 2018 12:46:06 +0000 (+0100) Subject: turnip: Stop hardcoding the msm version check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d99dd55a04dd91af96d647d98d525df8ff7deda;p=mesa.git turnip: Stop hardcoding the msm version check. --- diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index b5a8a6f13bc..e595152d465 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -179,7 +179,8 @@ tu_physical_device_init(struct tu_physical_device *device, "device %s does not use the msm kernel driver", path); } - if (version->version_major != 1 || version->version_minor < 3) { + if (version->version_major != min_version_major || + version->version_minor < min_version_minor) { result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER, "kernel driver for device %s has version %d.%d, " "but Vulkan requires version >= %d.%d",