diff options
author | Kristian Høgsberg <[email protected]> | 2015-12-01 15:39:30 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-04 09:51:47 -0800 |
commit | dac57750db6779b3280fca3b7a375243b4aea623 (patch) | |
tree | bc85a6c4696048eba83acd5a5537bc74e530a563 /src | |
parent | bbb6875f35c783d4f350dc9fbf2e2904b3d47a5a (diff) |
vk: Turn on Bay Trail, Cherryview and Broxton support
Diffstat (limited to 'src')
-rw-r--r-- | src/vulkan/anv_device.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 7e1b552ca7f..7556d8353d5 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -87,10 +87,14 @@ anv_physical_device_init(struct anv_physical_device *device, fprintf(stderr, "WARNING: Haswell Vulkan support is incomplete\n"); } else if (device->info->gen == 7 && !device->info->is_baytrail) { fprintf(stderr, "WARNING: Ivy Bridge Vulkan support is incomplete\n"); - } else if (device->info->gen == 9) { + } else if (device->info->gen == 7 && device->info->is_baytrail) { + fprintf(stderr, "WARNING: Bay Trail Vulkan support is incomplete\n"); + } else if (device->info->gen == 9 && !device->info->is_broxton) { fprintf(stderr, "WARNING: Skylake Vulkan support is incomplete\n"); - } else if (device->info->gen == 8 && !device->info->is_cherryview) { - /* Broadwell is as fully supported as anything */ + } else if (device->info->gen == 9 && device->info->is_broxton) { + fprintf(stderr, "WARNING: Broxton Vulkan support is incomplete\n"); + } else if (device->info->gen == 8) { + /* Broadwell/Cherryview is as fully supported as anything */ } else { result = vk_errorf(VK_ERROR_INCOMPATIBLE_DRIVER, "Vulkan not yet supported on %s", device->name); @@ -115,12 +119,6 @@ anv_physical_device_init(struct anv_physical_device *device, goto fail; } - if (!anv_gem_get_param(fd, I915_PARAM_HAS_LLC)) { - result = vk_errorf(VK_ERROR_INITIALIZATION_FAILED, - "non-llc gpu"); - goto fail; - } - if (anv_gem_get_param(fd, I915_PARAM_MMAP_VERSION < 1)) { result = vk_errorf(VK_ERROR_INITIALIZATION_FAILED, "kernel missing wc mmap"); |