From: Kristian Høgsberg Kristensen Date: Wed, 26 Aug 2015 11:04:36 +0000 (-0700) Subject: vk: Drop check for I915_PARAM_HAS_EXEC_CONSTANTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82396a551493f3bbaa4a80e903616912b0092d3e;p=mesa.git vk: Drop check for I915_PARAM_HAS_EXEC_CONSTANTS We don't use this kernel feature. Signed-off-by: Kristian Høgsberg Kristensen --- 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);