radv: gfx10 is not supported
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 13 May 2019 19:57:47 +0000 (21:57 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c

index 649a769806910d4a3c9ff07ce1953e6eef4add08..961a81286eec17e350454eabc57981ada0e796eb 100644 (file)
@@ -45,6 +45,9 @@ 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)
+               return false;
+
        /* temporary */
        ws->info.use_display_dcc_unaligned = false;
        ws->info.use_display_dcc_with_retile_blit = false;