From 04f4c39a4e8f1bd53270a89d11bd1d3d8f4f9bec Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 15 Nov 2023 14:02:48 +0100 Subject: [PATCH] panfrost: s/panfrost_emit_vertex_tiler_jobs/jm_push_vertex_tiler_jobs/ Prefix the function with jm_, so it's clear its JM-specific helper. While at it, replace emit by push, since the descriptor emission happens before that, all this function does is pushing jobs to the job chain. Signed-off-by: Boris Brezillon Reviewed-by: Erik Faye-Lund Part-of: --- src/gallium/drivers/panfrost/pan_cmdstream.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 8bb0e30f91a..69c59f2ba4e 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -2560,14 +2560,14 @@ panfrost_emit_varying_descriptor(struct panfrost_batch *batch, } /* - * Emit jobs required for the rasterization pipeline. If there are side effects + * Push jobs required for the rasterization pipeline. If there are side effects * from the vertex shader, these are handled ahead-of-time with a compute * shader. This function should not be called if rasterization is skipped. */ static void -panfrost_emit_vertex_tiler_jobs(struct panfrost_batch *batch, - const struct panfrost_ptr *vertex_job, - const struct panfrost_ptr *tiler_job) +jm_push_vertex_tiler_jobs(struct panfrost_batch *batch, + const struct panfrost_ptr *vertex_job, + const struct panfrost_ptr *tiler_job) { unsigned vertex = panfrost_add_job(&batch->pool.base, &batch->jm.jobs.vtc_jc, MALI_JOB_TYPE_VERTEX, false, false, 0, 0, @@ -3711,7 +3711,7 @@ panfrost_direct_draw(struct panfrost_batch *batch, #endif } else { panfrost_draw_emit_vertex(batch, info, &invocation, vertex.cpu); - panfrost_emit_vertex_tiler_jobs(batch, &vertex, &tiler); + jm_push_vertex_tiler_jobs(batch, &vertex, &tiler); } #endif batch->draw_count++;