ac/debug: take ASIC generation into account when printing registers
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 4 Sep 2017 09:05:13 +0000 (11:05 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 6 Sep 2017 07:59:19 +0000 (09:59 +0200)
commit552aaa11ed56d020c3ecd6b5d17a159ad545b901
tree36ec73689f519fde6ef80a9a65f28ec590199a66
parent274f1dace74acbd41446fdffadd734397c528ada
ac/debug: take ASIC generation into account when printing registers

There were some overlapping changes in gfx9 especially in the CB/DB
blocks which made register dumps rather misleading.

The split is along the lines of the header files, so we'll print VI-only
fields on SI and CI, for example, but we won't print GFX9 fields on
SI/CI/VI, and we won't print SI/CI/VI fields on GFX9.

Acked-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_debug.c
src/amd/common/sid_tables.py