xref: /linux/drivers/gpu/drm/xe/xe_devcoredump.h (revision 6d9b262afe0ec1d6e0ef99321ca9d6b921310471)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef _XE_DEVCOREDUMP_H_
7 #define _XE_DEVCOREDUMP_H_
8 
9 struct xe_device;
10 struct xe_sched_job;
11 
12 #ifdef CONFIG_DEV_COREDUMP
13 void xe_devcoredump(struct xe_sched_job *job);
14 #else
15 static inline void xe_devcoredump(struct xe_sched_job *job)
16 {
17 }
18 #endif
19 
20 #endif
21