diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-12-21 13:46:06 +0100 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:01:41 -0700 |
commit | 3d99dd55a04dd91af96d647d98d525df8ff7deda (patch) | |
tree | 6285291d6fdc3b101f741e8ea2e91f73db4c447a /src/freedreno/vulkan | |
parent | d9c3dc8ec8ac1deb7b62f6e43b17bca7a2d7a290 (diff) |
turnip: Stop hardcoding the msm version check.
Diffstat (limited to 'src/freedreno/vulkan')
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |