[Mesa-dev] [PATCH 09/10] radeonsi: disable XNACK to free 2 SGPRs on APUs

Marek Olšák maraeo at gmail.com
Mon Nov 28 11:17:02 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

My LLVM commit disables it for dGPUs, but not APUs.
---
 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 6be676d..c144282 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -26,21 +26,21 @@
 #include "si_shader_internal.h"
 #include "sid.h"
 
 #include "radeon/radeon_uvd.h"
 #include "util/u_memory.h"
 #include "util/u_suballoc.h"
 #include "vl/vl_decoder.h"
 #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
  */
 static void si_destroy_context(struct pipe_context *context)
 {
 	struct si_context *sctx = (struct si_context *)context;
 	int i;
 
 	/* Unreference the framebuffer normally to disable related logic
-- 
2.7.4



More information about the mesa-dev mailing list