mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
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:
parent
c49542af07
commit
ba614bea44
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user