summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-08-18 09:33:41 +1000
committerEmil Velikov <[email protected]>2017-08-19 02:57:19 +0100
commite44393cb238329dcc4e0fc1324f68b52a86e5922 (patch)
tree7d32128f3b07c7d0a7ffd44e852721903e8723a2 /src/amd/vulkan
parent81b5a6a85ba49ae83ef490624bce27eeff12a947 (diff)
radv: disable support for VEGA for now.
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" <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]> (cherry picked from commit 611076a41aac3095a82dff2432943d7f8d429822)
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
index 25034895883..607ef6227d7 100644
--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
@@ -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",