summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-14 12:48:06 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-17 07:59:14 -0700
commit443f9ae0ad19fbb13dfde19f406c4e2892af55c0 (patch)
treec4edc9eb9ac821400d8d51c957ab8f1f1b4369df /src/gallium
parent6460442049012977a96e84307a128d2b7c27abfd (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index b6839e71ca1..09bded80296 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -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);