From 9ea8249e556a37eb5dd8bceb250ecaa80b5fdb8e Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Wed, 27 Mar 2024 15:01:33 +0100 Subject: [PATCH] nouveau: Fix NINC TERT handling in vk_push_print This was an oversight from the previous changes but that codepath shouldn't really be taken on G80+. Fixes: 9e133c4000d ("nouveau: Add support for TERT opcodes in vk_push_print") Signed-off-by: Mary Guillemard Reviewed-by: Karol Herbst Part-of: --- src/nouveau/headers/nv_push.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nouveau/headers/nv_push.c b/src/nouveau/headers/nv_push.c index 495ddafe260..e41d6afe575 100644 --- a/src/nouveau/headers/nv_push.c +++ b/src/nouveau/headers/nv_push.c @@ -116,6 +116,7 @@ vk_push_print(FILE *fp, const struct nv_push *push, switch (tert_op) { case 0: fprintf(fp, " NINC\n"); + inc = count; break; case 1: fprintf(fp, " SUB_DEVICE_OP\n");