diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-21 13:59:51 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-25 13:39:17 -0700 |
commit | 4ac42f2b3882e9425c372f952cc32b395c6a7c3b (patch) | |
tree | 81af1a66bb7d10697e8d2d5fd036130dfd1ba37f /src/gallium/drivers | |
parent | ffcc4d1c4e872b3bb5be1d6952e527e5c091370c (diff) |
panfrost: Skip flushes only for wallpapers, not any blit
We need the flush from u_blitter for a normal blit (e.g. for mipmaps);
it's only wallpaper-related blits that are special-cased.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index b36ecccf7bf..a509f3be28b 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2313,7 +2313,7 @@ panfrost_set_framebuffer_state(struct pipe_context *pctx, bool is_scanout = panfrost_is_scanout(ctx); bool has_draws = job->last_job.gpu; - if (!ctx->blitter->running && (!is_scanout || has_draws)) { + if (!ctx->wallpaper_batch && (!is_scanout || has_draws)) { panfrost_flush(pctx, NULL, PIPE_FLUSH_END_OF_FRAME); } |