radeonsi: disable XNACK to free 2 SGPRs on APUs
authorMarek Olšák <marek.olsak@amd.com>
Sun, 27 Nov 2016 17:13:15 +0000 (18:13 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 29 Nov 2016 22:52:31 +0000 (23:52 +0100)
My LLVM commit disables it for dGPUs, but not APUs.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c

index 6be676d786a44858860de51bda5ebd6bf4137f8e..c1442820a93b5750ebe9dd6bd991e572271bfc9f 100644 (file)
@@ -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