diff options
author | Lionel Landwerlin <[email protected]> | 2017-09-30 14:41:20 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-11-01 17:23:49 +0000 |
commit | bb16503542139bdd0acd1b77728f04fbc56d49e8 (patch) | |
tree | 4ab77d56d8ce54b17c07075d9603bf3131710f9d /src/intel/common | |
parent | ad876f721ebf952eaccf2d3f4979a1e53560f621 (diff) |
intel: decoder: expose missing find_enum()
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/common')
-rw-r--r-- | src/intel/common/gen_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index 9ee5fb51c2e..251582f7121 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -52,6 +52,8 @@ 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); +struct gen_enum *gen_spec_find_enum(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); |