drivers/accel/ivpu/ivpu_coredump.h

Source file repositories/reference/linux-study-clean/drivers/accel/ivpu/ivpu_coredump.h

File Facts

System
Linux kernel
Corpus path
drivers/accel/ivpu/ivpu_coredump.h
Extension
.h
Size
516 bytes
Lines
26
Domain
Driver Families
Bucket
drivers/accel
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 __IVPU_COREDUMP_H__
#define __IVPU_COREDUMP_H__

#include <drm/drm_print.h>

#include "ivpu_drv.h"
#include "ivpu_fw_log.h"

#ifdef CONFIG_DEV_COREDUMP
void ivpu_dev_coredump(struct ivpu_device *vdev);
#else
static inline void ivpu_dev_coredump(struct ivpu_device *vdev)
{
	struct drm_printer p = drm_info_printer(vdev->drm.dev);

	ivpu_fw_log_print(vdev, false, &p);
}
#endif

#endif /* __IVPU_COREDUMP_H__ */

Annotation

Implementation Notes