ethos: fix build on non LP64 architectures

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14310
Signed-off-by: Linus Karl <linus@lotz.li>
(cherry picked from commit 7700ba28f5)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39117>
This commit is contained in:
Linus Karl 2025-11-21 12:22:40 +01:00 committed by Dylan Baker
parent ee41f1ef9f
commit 3ca5a85565
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@
"description": "ethos: fix build on non LP64 architectures",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -82,7 +82,7 @@ fill_weights(struct ethosu_subgraph *subgraph, struct ethosu_operation *operatio
}
pipe_buffer_unmap(subgraph->base.context, transfer_in);
long padded_size = 0;
int64_t padded_size = 0;
*weights_size = mlw_reorder_encode(
IFM_UBLOCK.depth,
OFM_UBLOCK.depth,