From e8d9b76f6390459b2f7e2aa6ae8b74275f66c791 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 1 Mar 2017 14:39:58 +0000 Subject: intel: tools: add aubinator_error_decode tool This is pretty much the same tool as what i-g-t has, only with a more fancy decoding of the instructions/registers. It also doesn't support anything before gen4. v2 (from Matt): Drop authors Remove undefined automake variable v3: Fix incorrect offsets for dword > 1 (Jordan) v4: Fix decompression error with large blobs (Jordan) Signed-off-by: Lionel Landwerlin Acked-by: Matt Turner --- src/intel/common/gen_decoder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/intel/common/gen_decoder.h') diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index be37e8a5424..870bd7f7841 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -45,6 +45,7 @@ struct gen_spec *gen_spec_load_from_path(const struct gen_device_info *devinfo, uint32_t gen_spec_get_gen(struct gen_spec *spec); struct gen_group *gen_spec_find_instruction(struct gen_spec *spec, const uint32_t *p); struct gen_group *gen_spec_find_register(struct gen_spec *spec, uint32_t offset); +struct gen_group *gen_spec_find_register_by_name(struct gen_spec *spec, const char *name); int gen_group_get_length(struct gen_group *group, const uint32_t *p); const char *gen_group_get_name(struct gen_group *group); uint32_t gen_group_get_opcode(struct gen_group *group); -- cgit v1.2.3