vk: Drop check for I915_PARAM_HAS_EXEC_CONSTANTS

We don't use this kernel feature.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
This commit is contained in:
Kristian Høgsberg Kristensen 2015-08-26 04:04:36 -07:00
parent c4b30e7885
commit 82396a5514

View file

@ -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);