tools/null_state_gen: terminate relocs with -1

as this was already changed in kernel.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
Mika Kuoppala 2014-08-01 21:19:52 +03:00 committed by Mika Kuoppala
parent c49542af07
commit ba614bea44

View File

@ -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);