From 82396a551493f3bbaa4a80e903616912b0092d3e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Wed, 26 Aug 2015 04:04:36 -0700 Subject: [PATCH] vk: Drop check for I915_PARAM_HAS_EXEC_CONSTANTS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't use this kernel feature. Signed-off-by: Kristian Høgsberg Kristensen --- src/vulkan/anv_device.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 37cf7d3cea9..557404fa746 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -78,11 +78,6 @@ anv_physical_device_init(struct anv_physical_device *device, result = vk_errorf(VK_ERROR_UNAVAILABLE, "non-llc gpu"); goto fail; } - - if (!anv_gem_get_param(fd, I915_PARAM_HAS_EXEC_CONSTANTS)) { - result = vk_errorf(VK_ERROR_UNAVAILABLE, "kernel missing exec constants"); - goto fail; - } close(fd); -- 2.30.2