summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/gen_disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/tools/gen_disasm.h')
-rw-r--r--src/intel/tools/gen_disasm.h4
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);