diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-31 13:54:23 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-01 16:23:02 -0700 |
commit | 902115f94fa1a1f2b8ca151cbf1ec07e4a0e76df (patch) | |
tree | 392c911a2a37af6e598e0cdb2f21136c43d9f710 /src/gallium/drivers | |
parent | 2d86828243d1179a3a52153973a53ea1031842e0 (diff) |
panfrost: Only wallpaper if we drew something
last_tiler.gpu may be NULL at flush time despite no clear and existing
jobs -- if we executed a compute-only workload.
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 ab422ec6912..ccbb80dbb11 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -1547,7 +1547,7 @@ panfrost_flush( /* Nothing to do! */ if (!job->last_job.gpu && !job->clear) return; - if (!job->clear) + if (!job->clear && job->last_tiler.gpu) panfrost_draw_wallpaper(&ctx->base); /* Whether to stall the pipeline for immediately correct results. Since |