diff options
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/bifrost/bi_schedule.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index 4adab3bc60e..589c84897ac 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -110,7 +110,10 @@ bi_schedule(bi_context *ctx) ids = ids & 1; last_id = u->scoreboard_id; u->back_to_back = true; - u->data_register_write_barrier = true; + + /* Rule: first instructions cannot have write barriers */ + if (!is_first) + u->data_register_write_barrier = true; u->constant_count = 1; u->constants[0] = ins->constant.u64; |