Mesa (master): radv: disable support for VEGA for now.

Dave Airlie airlied at kemper.freedesktop.org
Thu Aug 17 23:50:17 UTC 2017


Module: Mesa
Branch: master
Commit: 611076a41aac3095a82dff2432943d7f8d429822
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=611076a41aac3095a82dff2432943d7f8d429822

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Aug 18 09:33:41 2017 +1000

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" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
index 2503489588..607ef6227d 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",




More information about the mesa-commit mailing list