panfrost: Remove forced flush on clears
[mesa.git] / src / gallium / drivers / panfrost / pan_context.c
index b6839e71ca15905ccd49f56f02f5023181597765..09bded80296f26ffe462bfe39f081736b8872e38 100644 (file)
@@ -1391,10 +1391,6 @@ panfrost_submit_frame(struct panfrost_context *ctx, bool flush_immediate,
         /* Edge case if screen is cleared and nothing else */
         bool has_draws = ctx->draw_count > 0;
 
-        /* Workaround a bizarre lockup (a hardware errata?) */
-        if (!has_draws)
-                flush_immediate = true;
-
 #ifndef DRY_RUN
         
         bool is_scanout = panfrost_is_scanout(ctx);