From f6e41f30d00915e677737aca6d2b10b2c1c0eb3e Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 19 Aug 2019 12:44:16 -0700 Subject: [PATCH] panfrost: Remove DRY_RUN Nobody uses this anymore anyway. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 6 ------ 1 file changed, 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 -- 2.30.2