[Mesa-dev] [PATCH] anv: don't assert on device init on Cannonlake

Jason Ekstrand jason at jlekstrand.net
Fri Oct 20 17:35:44 UTC 2017


Perhaps add a warning for CNL saying that it's still alpha

--Jason

On Fri, Oct 20, 2017 at 10:33 AM, Lionel Landwerlin <
lionel.g.landwerlin at intel.com> wrote:

> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
>  src/intel/vulkan/anv_device.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index a4ea7e33d9c..a117e119641 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -299,9 +299,9 @@ anv_physical_device_init(struct anv_physical_device
> *device,
>        fprintf(stderr, "WARNING: Ivy Bridge Vulkan support is
> incomplete\n");
>     } 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 >= 8 && device->info.gen <= 9) {
> -      /* Broadwell, Cherryview, Skylake, Broxton, Kabylake is as fully
> -       * supported as anything */
> +   } else if (device->info.gen >= 8 && device->info.gen <= 10) {
> +      /* Broadwell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake
> +       * and Cannonlake is as fully supported as anything */
>     } else {
>        result = vk_errorf(device->instance, device,
>                           VK_ERROR_INCOMPATIBLE_DRIVER,
> --
> 2.15.0.rc1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171020/18518586/attachment.html>


More information about the mesa-dev mailing list