drivers/gpu/drm/xe/xe_devcoredump.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_devcoredump.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_devcoredump.h
Extension
.h
Size
770 bytes
Lines
36
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _XE_DEVCOREDUMP_H_
#define _XE_DEVCOREDUMP_H_

#include <linux/types.h>

struct drm_printer;
struct xe_device;
struct xe_exec_queue;
struct xe_sched_job;

#ifdef CONFIG_DEV_COREDUMP
void xe_devcoredump(struct xe_exec_queue *q, struct xe_sched_job *job, const char *fmt, ...);
int xe_devcoredump_init(struct xe_device *xe);
#else
static inline void xe_devcoredump(struct xe_exec_queue *q,
				  struct xe_sched_job *job,
				  const char *fmt, ...)
{
}

static inline int xe_devcoredump_init(struct xe_device *xe)
{
	return 0;
}
#endif

void xe_print_blob_ascii85(struct drm_printer *p, const char *prefix, char suffix,
			   const void *blob, size_t offset, size_t size);

#endif

Annotation

Implementation Notes