Mesa (main): broadcom/compiler: relax restriction on VPM inst in last thread end slot
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 29 14:27:12 UTC 2021
Module: Mesa
Branch: main
Commit: 996f147fef844815c886c2ad7606b972c1ad69a5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=996f147fef844815c886c2ad7606b972c1ad69a5
Author: Iago Toral Quiroga <itoral at igalia.com>
Date: Mon Nov 29 12:39:24 2021 +0100
broadcom/compiler: relax restriction on VPM inst in last thread end slot
According to the documentation, only vpmwt is disallowed in the last delay
slot of the thread end.
Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13975>
---
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)
More information about the mesa-commit
mailing list