radv: disable support for VEGA for now.
authorDave Airlie <airlied@redhat.com>
Thu, 17 Aug 2017 23:33:41 +0000 (09:33 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Aug 2017 23:49:48 +0000 (00:49 +0100)
I'm working on this, but I'm not sure I'll make 17.2 at this stage,
maybe 17.2.1.

Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c

index 2503489588340c5f29ca756f7133ebd86e864a9b..607ef6227d7a4ffa8ef8a1ff411da488c0777672 100644 (file)
@@ -46,6 +46,11 @@ do_winsys_init(struct radv_amdgpu_winsys *ws, int fd)
        if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo))
                return false;
 
+       if (ws->info.chip_class >= GFX9) {
+               fprintf(stderr, "radv: VEGA support not completed.\n");
+               return false;
+       }
+
        /* LLVM 5.0 is required for GFX9. */
        if (ws->info.chip_class >= GFX9 && HAVE_LLVM < 0x0500) {
                fprintf(stderr, "amdgpu: LLVM 5.0 is required, got LLVM %i.%i\n",