From 83a66e10dee84d3a2608550455cdc6411fec5e17 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Fri, 5 Jul 2019 09:47:05 +0200 Subject: v3d: tlb loads cannot be removed Loads from the tile buffer are emitted in ordered sequences so we cannot eliminate or reorder any of them. Reviewed-by: Eric Anholt --- src/broadcom/compiler/vir.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/broadcom/compiler/vir.c') diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index 45a6cc9ed2b..8de582792b7 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -75,6 +75,8 @@ vir_has_side_effects(struct v3d_compile *c, struct qinst *inst) if (inst->qpu.sig.ldtmu || inst->qpu.sig.ldvary || + inst->qpu.sig.ldtlbu || + inst->qpu.sig.ldtlb || inst->qpu.sig.wrtmuc || inst->qpu.sig.thrsw) { return true; -- cgit v1.2.3