Revert "radv: disable support for VEGA for now."
authorDave Airlie <airlied@redhat.com>
Mon, 21 Aug 2017 03:25:59 +0000 (04:25 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2017 02:23:10 +0000 (03:23 +0100)
This reverts commit 611076a41aac3095a82dff2432943d7f8d429822.

With the two previous commits, vega shouldn't be unstable,
doesn't pass CTS, but can do a complete run, and games shouldn't
hang anymore, so bring it back online.

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

index 85910fb1c82bc7facc62a0c01d7672226fa649d3..a6dedfa5a17fa8a685ce2166036a47498aed20ad 100644 (file)
@@ -46,11 +46,6 @@ 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",