From c756a3ef70ad3f020f50950bcf30f8423470478d Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 10 Sep 2013 11:35:58 -0400 Subject: freedreno: add debug option to disable GMEM bypass Useful for debugging. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c') diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index 3d959c65dc7..8455b73ccbe 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -204,7 +204,7 @@ fd_gmem_render_tiles(struct pipe_context *pctx) if (ctx->cleared || ctx->gmem_reason || (ctx->num_draws > 5)) { DBG("GMEM: cleared=%x, gmem_reason=%x, num_draws=%u", ctx->cleared, ctx->gmem_reason, ctx->num_draws); - } else { + } else if (!(fd_mesa_debug & FD_DBG_DBYPASS)) { sysmem = true; } } -- cgit v1.2.3