diff options
author | Lionel Landwerlin <[email protected]> | 2016-10-05 23:52:51 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2016-10-08 02:17:35 +0100 |
commit | 619c8de522251e0ab9477b475c22c084180877d4 (patch) | |
tree | 2a5735306e7659eec38b9a08a50c24c579a7ebde /src/intel/tools/decoder.h | |
parent | 63a366a8813fec3836213cfd5ab006add332ec84 (diff) |
intel: aubinator: enable loading xml files from a given directory
This might be useful for people who debug with out of tree descriptions.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Sirisha Gandikota <[email protected]>
Diffstat (limited to 'src/intel/tools/decoder.h')
-rw-r--r-- | src/intel/tools/decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h index 5bea9b957f6..739f194e3bd 100644 --- a/src/intel/tools/decoder.h +++ b/src/intel/tools/decoder.h @@ -39,6 +39,8 @@ static inline uint32_t gen_make_gen(uint32_t major, uint32_t minor) struct gen_group *gen_spec_find_struct(struct gen_spec *spec, const char *name); struct gen_spec *gen_spec_load(const struct gen_device_info *devinfo); +struct gen_spec *gen_spec_load_from_path(const struct gen_device_info *devinfo, + const char *path); 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); |