drivers/gpu/drm/lima/lima_dump.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/lima/lima_dump.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/lima/lima_dump.h- Extension
.h- Size
- 1561 bytes
- Lines
- 78
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct lima_dump_headstruct lima_dump_taskstruct lima_dump_chunkstruct lima_dump_chunk_bufferstruct lima_dump_chunk_pid
Annotated Snippet
struct lima_dump_head {
__u32 magic;
__u16 version_major;
__u16 version_minor;
__u32 num_tasks;
__u32 size;
__u32 reserved[4];
};
#define LIMA_DUMP_TASK_GP 0
#define LIMA_DUMP_TASK_PP 1
#define LIMA_DUMP_TASK_NUM 2
struct lima_dump_task {
__u32 id;
__u32 size;
__u32 num_chunks;
__u32 reserved;
};
#define LIMA_DUMP_CHUNK_FRAME 0
#define LIMA_DUMP_CHUNK_BUFFER 1
#define LIMA_DUMP_CHUNK_PROCESS_NAME 2
#define LIMA_DUMP_CHUNK_PROCESS_ID 3
#define LIMA_DUMP_CHUNK_NUM 4
struct lima_dump_chunk {
__u32 id;
__u32 size;
__u32 reserved[2];
};
struct lima_dump_chunk_buffer {
__u32 id;
__u32 size;
__u32 va;
__u32 reserved;
};
struct lima_dump_chunk_pid {
__u32 id;
__u32 size;
__u32 pid;
__u32 reserved;
};
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct lima_dump_head`, `struct lima_dump_task`, `struct lima_dump_chunk`, `struct lima_dump_chunk_buffer`, `struct lima_dump_chunk_pid`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.