From 996f147fef844815c886c2ad7606b972c1ad69a5 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Mon, 29 Nov 2021 12:39:24 +0100 Subject: [PATCH] broadcom/compiler: relax restriction on VPM inst in last thread end slot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to the documentation, only vpmwt is disallowed in the last delay slot of the thread end. Reviewed-by: Alejandro PiƱeiro Part-of: --- src/broadcom/compiler/qpu_schedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c index 63a6e89c5ad..ff2401639a2 100644 --- a/src/broadcom/compiler/qpu_schedule.c +++ b/src/broadcom/compiler/qpu_schedule.c @@ -1509,7 +1509,7 @@ qpu_inst_valid_in_thrend_slot(struct v3d_compile *c, if (slot > 0 && qinst->uniform != ~0) return false; - if (v3d_qpu_uses_vpm(inst)) + if (v3d_qpu_waits_vpm(inst)) return false; if (inst->sig.ldvary)