summaryrefslogtreecommitdiff
path: root/tools/null_state_gen
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2014-08-01 21:19:52 +0300
committerMika Kuoppala <mika.kuoppala@intel.com>2014-09-05 17:58:23 +0300
commitba614bea44d2a1661312a8465791d9e844e55f8b (patch)
treefa26e42ef02607c124959d56114c22b60f5e2f44 /tools/null_state_gen
parentc49542af073687a5dc66eaef19c31eeaf5766a86 (diff)
tools/null_state_gen: terminate relocs with -1
as this was already changed in kernel. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'tools/null_state_gen')
-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);