vk: Drop check for I915_PARAM_HAS_EXEC_CONSTANTS
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Wed, 26 Aug 2015 11:04:36 +0000 (04:04 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Thu, 3 Sep 2015 18:53:08 +0000 (11:53 -0700)
We don't use this kernel feature.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_device.c

index 37cf7d3cea98907d637a7b675078a4c44a6a8864..557404fa746ea03e345794dc9c31832cd87cf883 100644 (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);