diff options
Diffstat (limited to 'src/amd/common/ac_debug.h')
-rw-r--r-- | src/amd/common/ac_debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_debug.h b/src/amd/common/ac_debug.h index a37acd20296..277025d8b66 100644 --- a/src/amd/common/ac_debug.h +++ b/src/amd/common/ac_debug.h @@ -28,6 +28,7 @@ #include <stdint.h> #include <stdio.h> +#include <stdbool.h> #include "amd_family.h" @@ -46,4 +47,7 @@ void ac_parse_ib(FILE *f, uint32_t *ib, int num_dw, const int *trace_ids, unsigned trace_id_count, const char *name, enum chip_class chip_class, ac_debug_addr_callback addr_callback, void *addr_callback_data); +bool ac_vm_fault_occured(enum chip_class chip_class, + uint64_t *old_dmesg_timestamp, uint64_t *out_addr); + #endif |