projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c3dc8
)
turnip: Stop hardcoding the msm version check.
author
Bas Nieuwenhuizen
<basni@chromium.org>
Fri, 21 Dec 2018 12:46:06 +0000
(13:46 +0100)
committer
Chia-I Wu
<olvaffe@gmail.com>
Mon, 11 Mar 2019 17:01:41 +0000
(10:01 -0700)
src/freedreno/vulkan/tu_device.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_device.c
b/src/freedreno/vulkan/tu_device.c
index b5a8a6f13bcb0ab992594ee393b2f0c3292aca61..e595152d4657649dcba7f9e43c80d3eb15fb365f 100644
(file)
--- 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",