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

Jason Ekstrand jason at jlekstrand.net
Fri Oct 20 18:06:19 UTC 2017


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

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

> v2: Warn that support is still in alpha (Jason)
>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
>  src/intel/vulkan/anv_device.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index a305afebc32..67028e8da9f 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -300,8 +300,10 @@ anv_physical_device_init(struct anv_physical_device
> *device,
>     } else if (device->info.gen == 7 && device->info.is_baytrail) {
>        intel_logw("Bay Trail Vulkan support is incomplete");
>     } else if (device->info.gen >= 8 && device->info.gen <= 9) {
> -      /* Broadwell, Cherryview, Skylake, Broxton, Kabylake is as fully
> -       * supported as anything */
> +      /* Broadwell, Cherryview, Skylake, Broxton, Kabylake, Coffelake is
> as
> +       * fully supported as anything */
> +   } else if (device->info.gen == 10) {
> +      intel_logw("Cannonlake Vulkan support is alpha");
>     } 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/1de1287d/attachment-0001.html>


More information about the mesa-dev mailing list