[Intel-gfx] [PATCH 1/5] tools/null_state_gen: terminate relocs with -1
Mika Kuoppala
mika.kuoppala at linux.intel.com
Fri Aug 1 20:19:52 CEST 2014
as this was already changed in kernel.
Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
---
tools/null_state_gen/intel_null_state_gen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/null_state_gen/intel_null_state_gen.c b/tools/null_state_gen/intel_null_state_gen.c
index 14f45d3..945926f 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);
--
1.7.9.5
More information about the Intel-gfx
mailing list