]> Git Repo - J-linux.git/blob - drivers/gpu/drm/xe/xe_devcoredump.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / gpu / drm / xe / xe_devcoredump.h
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 #include <linux/types.h>
10
11 struct drm_printer;
12 struct xe_device;
13 struct xe_sched_job;
14
15 #ifdef CONFIG_DEV_COREDUMP
16 void xe_devcoredump(struct xe_sched_job *job);
17 int xe_devcoredump_init(struct xe_device *xe);
18 #else
19 static inline void xe_devcoredump(struct xe_sched_job *job)
20 {
21 }
22
23 static inline int xe_devcoredump_init(struct xe_device *xe)
24 {
25         return 0;
26 }
27 #endif
28
29 void xe_print_blob_ascii85(struct drm_printer *p, const char *prefix,
30                            const void *blob, size_t offset, size_t size);
31
32 #endif
This page took 0.025041 seconds and 4 git commands to generate.