radeonsi: print unknown registers with correct formatting

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák 2016-11-23 22:55:20 +01:00
parent 9e1dc10432
commit 7abd94c9b0
1 changed files with 2 additions and 1 deletions

View File

@ -233,7 +233,8 @@ static void si_dump_reg(FILE *file, unsigned offset, uint32_t value,
}
}
fprintf(file, COLOR_YELLOW "0x%05x" COLOR_RESET " = 0x%08x", offset, value);
print_spaces(file, INDENT_PKT);
fprintf(file, COLOR_YELLOW "0x%05x" COLOR_RESET " <- 0x%08x\n", offset, value);
}
static void si_parse_set_reg_packet(FILE *f, uint32_t *ib, unsigned count,