summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/null_state_gen/intel_null_state_gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/null_state_gen/intel_null_state_gen.c b/tools/null_state_gen/intel_null_state_gen.c
index 14f45d3a..945926f7 100644
--- a/tools/null_state_gen/intel_null_state_gen.c
+++ b/tools/null_state_gen/intel_null_state_gen.c
@@ -39,6 +39,7 @@ static int print_state(int gen, struct intel_batchbuffer *batch)
for (i = 0; i < batch->num_relocs; i++) {
printf("\t0x%08x,\n", batch->relocs[i]);
}
+ printf("\t%d,\n", -1);
printf("};\n\n");
printf("static const u32 gen%d_null_state_batch[] = {\n", gen);