diff options
author | Nicolai Hähnle <[email protected]> | 2017-09-04 10:35:06 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-09-06 09:59:17 +0200 |
commit | 274f1dace74acbd41446fdffadd734397c528ada (patch) | |
tree | c83646211416921778d7fa9c82329499ae2d3cf9 /src/amd/common/ac_debug.h | |
parent | 925ad7d2f62c680ffef5d72db8cedd273dc26625 (diff) |
amd/common: pass chip_class to ac_dump_reg
Acked-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_debug.h')
-rw-r--r-- | src/amd/common/ac_debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/common/ac_debug.h b/src/amd/common/ac_debug.h index 277025d8b66..35e950014b0 100644 --- a/src/amd/common/ac_debug.h +++ b/src/amd/common/ac_debug.h @@ -38,8 +38,8 @@ typedef void *(*ac_debug_addr_callback)(void *data, uint64_t addr); -void ac_dump_reg(FILE *file, unsigned offset, uint32_t value, - uint32_t field_mask); +void ac_dump_reg(FILE *file, enum chip_class chip_class, unsigned offset, + uint32_t value, uint32_t field_mask); void ac_parse_ib_chunk(FILE *f, uint32_t *ib, int num_dw, const int *trace_ids, unsigned trace_id_count, enum chip_class chip_class, ac_debug_addr_callback addr_callback, void *addr_callback_data); |