diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-19 12:44:16 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-21 08:40:53 -0700 |
commit | f6e41f30d00915e677737aca6d2b10b2c1c0eb3e (patch) | |
tree | 5175f0e4329b9fa5494cfc09ba06ac182385bbb9 /src/gallium/drivers/panfrost/pan_context.c | |
parent | b4a214207cd73272b7d22337834de79f96d7b48d (diff) |
panfrost: Remove DRY_RUN
Nobody uses this anymore anyway.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index b6de11c10eb..3d4b837697c 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -51,9 +51,6 @@ #include "pan_blend_shaders.h" #include "pan_util.h" -/* Do not actually send anything to the GPU; merely generate the cmdstream as fast as possible. Disables framebuffer writes */ -//#define DRY_RUN - /* Framebuffer descriptor */ static struct midgard_tiler_descriptor @@ -1341,8 +1338,6 @@ panfrost_submit_frame(struct panfrost_context *ctx, bool flush_immediate, struct pipe_context *gallium = (struct pipe_context *) ctx; struct panfrost_screen *screen = pan_screen(gallium->screen); -#ifndef DRY_RUN - panfrost_job_submit(ctx, job); /* If visual, we can stall a frame */ @@ -1356,7 +1351,6 @@ panfrost_submit_frame(struct panfrost_context *ctx, bool flush_immediate, /* If readback, flush now (hurts the pipelined performance) */ if (flush_immediate) panfrost_drm_force_flush_fragment(ctx, fence); -#endif } static void |