panfrost_attach_mfbd(batch, ~0);
}
- panfrost_scoreboard_initialize_tiler(batch);
+ mali_ptr polygon_list = panfrost_batch_get_polygon_list(batch,
+ MALI_TILER_MINIMUM_HEADER_SIZE);
+
+ panfrost_scoreboard_initialize_tiler(batch, polygon_list);
ret = panfrost_batch_submit_jobs(batch);
* this is called right before frame submission. */
void
-panfrost_scoreboard_initialize_tiler(struct panfrost_batch *batch)
+panfrost_scoreboard_initialize_tiler(struct panfrost_batch *batch, mali_ptr polygon_list)
{
struct panfrost_device *dev = pan_device(batch->ctx->base.screen);
/* Okay, we do. Let's generate it. We'll need the job's polygon list
* regardless of size. */
- mali_ptr polygon_list = panfrost_batch_get_polygon_list(batch,
- MALI_TILER_MINIMUM_HEADER_SIZE);
-
struct mali_job_descriptor_header job = {
.job_type = JOB_TYPE_WRITE_VALUE,
.job_index = batch->scoreboard.write_value_index,
void *payload, size_t payload_size,
bool inject);
-void panfrost_scoreboard_initialize_tiler(struct panfrost_batch *batch);
+void panfrost_scoreboard_initialize_tiler(struct panfrost_batch *batch,
+ mali_ptr polygon_list);
#endif