From dbbdc6bb5a500a810b3ab38c255b16bf470c51b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 27 Nov 2016 18:13:15 +0100 Subject: [PATCH] radeonsi: disable XNACK to free 2 SGPRs on APUs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit My LLVM commit disables it for dGPUs, but not APUs. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 6be676d786a..c1442820a93 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -33,7 +33,7 @@ #include "../ddebug/dd_util.h" #define SI_LLVM_DEFAULT_FEATURES \ - "+DumpCode,+vgpr-spilling,-fp32-denormals,+fp64-denormals" + "+DumpCode,+vgpr-spilling,-fp32-denormals,+fp64-denormals,-xnack" /* * pipe_context -- 2.30.2