summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_gmem.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-09-10 11:35:58 -0400
committerRob Clark <[email protected]>2013-09-14 13:31:58 -0400
commitc756a3ef70ad3f020f50950bcf30f8423470478d (patch)
tree4eeffd1207e6ada5304009a1f97e328292ebdc8b /src/gallium/drivers/freedreno/freedreno_gmem.c
parentcdec879e38abdce652962b5fb3b28209d729d981 (diff)
freedreno: add debug option to disable GMEM bypass
Useful for debugging. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_gmem.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}