From 27581d18bc7f34e9c8f0b3a7c568323c7a8b03bf Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Wed, 21 Mar 2018 11:42:23 -0700 Subject: [PATCH] intel/aubinator_error_decode: Decode more registers. Decode SC_INSTDONE, ROW_INSTDONE and SAMPLER_INSTDONE. Reviewed-by: Lionel Landwerlin --- src/intel/tools/aubinator_error_decode.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index db880d74a9e..9abd05fd75a 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -540,6 +540,18 @@ read_data_file(FILE *file) print_register(spec, reg_name, reg); } + matched = sscanf(line, " SC_INSTDONE: 0x%08x\n", ®); + if (matched == 1) + print_register(spec, "SC_INSTDONE", reg); + + matched = sscanf(line, " SAMPLER_INSTDONE[%*d][%*d]: 0x%08x\n", ®); + if (matched == 1) + print_register(spec, "SAMPLER_INSTDONE", reg); + + matched = sscanf(line, " ROW_INSTDONE[%*d][%*d]: 0x%08x\n", ®); + if (matched == 1) + print_register(spec, "ROW_INSTDONE", reg); + matched = sscanf(line, " INSTDONE1: 0x%08x\n", ®); if (matched == 1) print_register(spec, "INSTDONE_1", reg); -- 2.30.2