Commit d1a994cb authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Try to solve tiler issues

parent 3e3cdbc6
......@@ -237,7 +237,7 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
const struct mali_single_framebuffer *PANWRAP_PTR_VAR(s, mem, (mali_ptr) gpu_va);
/* FBDs are frequently duplicated, so watch for this */
if (panwrap_deduplicate(mem, gpu_va, "framebuffer", job_no)) return;
//if (panwrap_deduplicate(mem, gpu_va, "framebuffer", job_no)) return;
panwrap_log("struct mali_single_framebuffer framebuffer_%d = {\n", job_no);
panwrap_indent++;
......
......@@ -510,6 +510,10 @@ trans_vertex_tiler_job(struct panfrost_context *ctx, bool is_tiler)
.job_index = draw_job_index + (is_tiler ? 1 : 0),
};
/* XXX: What is this? */
if (is_tiler)
job_1.unknown_flags = 1;
/* Only tiler jobs have dependencies which are known at this point */
if (is_tiler) {
......@@ -834,6 +838,7 @@ panfrost_flush(
/* Prepare for the next frame */
trans_invalidate_frame(ctx);
sleep(1);
/* Clear the kernel event buffer */
uint8_t kernel_events[128];
......
......@@ -120,11 +120,11 @@ int main(int argc, const char **argv)
gallium->draw_vbo(gallium, &info);
gallium->flush(gallium, NULL, PIPE_FLUSH_END_OF_FRAME);
sleep(1);
// break;
break;
}
gallium->transfer_unmap(gallium, transfer);
sleep(1);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment