panfrost: Remove forced flush on clears

This worked around a bug in oooold versions of Panfrost. Nowadays, its
presence is, at best, *creating* bugs. Let's wack it.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-06-14 12:48:06 -07:00
parent 6460442049
commit 443f9ae0ad
1 changed files with 0 additions and 4 deletions

View 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);