panfrost: Remove DRY_RUN
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 19 Aug 2019 19:44:16 +0000 (12:44 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 15:40:53 +0000 (08:40 -0700)
Nobody uses this anymore anyway.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c

index b6de11c10ebc64600718ab7beccb0f3f1e632047..3d4b837697ca859f99c3291c897c0f7f733d1b2d 100644 (file)
@@ -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