summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_context.h
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-09-01 10:54:38 +0200
committerBoris Brezillon <[email protected]>2019-09-13 16:25:06 +0200
commite46d95d51bc11301b603f1beb9b1341b3623a46b (patch)
tree5e5ed06ae0bc02fd126aa18d0c038916dfb61617 /src/gallium/drivers/panfrost/pan_context.h
parent40e20324e0c304960b86f4721270e7c1d5379318 (diff)
panfrost: Allow testing if a specific batch is targeting a scanout FB
Rename panfrost_is_scanout() into panfrost_batch_is_scanout(), pass it a batch instead of a context and move the code to pan_job.c. With this in place, we can now test if a batch is targeting a scanout FB even if this batch is not bound to the context. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 586b6d854b6..02552ed23de 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -315,9 +315,6 @@ panfrost_flush(
struct pipe_fence_handle **fence,
unsigned flags);
-bool
-panfrost_is_scanout(struct panfrost_context *ctx);
-
mali_ptr panfrost_sfbd_fragment(struct panfrost_context *ctx, bool has_draws);
mali_ptr panfrost_mfbd_fragment(struct panfrost_context *ctx, bool has_draws);