diff options
author | Jason Ekstrand <[email protected]> | 2017-12-12 23:26:51 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-12-14 13:27:06 -0800 |
commit | 79269e8f4bc37ab31975cae0d5db4b85eaafe0d8 (patch) | |
tree | 429fa3cc5c0c4a1df1ec6a69b2cbd5452cbe3703 /src/intel/tools/gen_disasm.h | |
parent | a7ae72032f550d9680673b67b1e81452d0b74fed (diff) |
intel/disasm: Take a devinfo in gen_disasm_create
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools/gen_disasm.h')
-rw-r--r-- | src/intel/tools/gen_disasm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/tools/gen_disasm.h b/src/intel/tools/gen_disasm.h index d2764bb90b7..52601cb2864 100644 --- a/src/intel/tools/gen_disasm.h +++ b/src/intel/tools/gen_disasm.h @@ -24,13 +24,15 @@ #ifndef GEN_DISASM_H #define GEN_DISASM_H +#include "intel/common/gen_device_info.h" + #ifdef __cplusplus extern "C" { #endif struct gen_disasm; -struct gen_disasm *gen_disasm_create(int pciid); +struct gen_disasm *gen_disasm_create(const struct gen_device_info *devinfo); void gen_disasm_disassemble(struct gen_disasm *disasm, void *assembly, int start, FILE *out); |