From 45fb8b99df5e2d2f28efe1cc94a75db03f5c34b3 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 17 Feb 2026 08:58:05 +0100 Subject: [PATCH] ethosu: Invert lowering order of concatenation suboperations Just so we match the order in which Vela assigns offsets to the FMs so it's easier to diff cmdstream dumps. Part-of: --- src/gallium/drivers/ethosu/ethosu_lower.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/ethosu/ethosu_lower.c b/src/gallium/drivers/ethosu/ethosu_lower.c index 3395ca98745..8abfde2603c 100644 --- a/src/gallium/drivers/ethosu/ethosu_lower.c +++ b/src/gallium/drivers/ethosu/ethosu_lower.c @@ -468,7 +468,7 @@ ethosu_lower_graph(struct ethosu_subgraph *subgraph, } case PIPE_ML_OPERATION_TYPE_CONCATENATION: { - for (int j = 0; j < poperations[i].input_count; j++) { + for (int j = poperations[i].input_count - 1; j >= 0; j--) { ethosu_lower_concatenation(subgraph, &poperations[i], j, &operation); util_dynarray_append(&subgraph->operations, operation); }