drivers/gpu/drm/lima/lima_drv.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/lima/lima_drv.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/lima/lima_drv.h
Extension
.h
Size
907 bytes
Lines
54
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

struct lima_drm_priv {
	struct lima_vm *vm;
	struct lima_ctx_mgr ctx_mgr;
};

struct lima_submit {
	struct lima_ctx *ctx;
	int pipe;
	u32 flags;

	struct drm_lima_gem_submit_bo *bos;
	struct lima_bo **lbos;
	u32 nr_bos;

	u32 in_sync[2];
	u32 out_sync;

	struct lima_sched_task *task;
};

struct lima_compatible {
	enum lima_gpu_id id;
};

static inline struct lima_drm_priv *
to_lima_drm_priv(struct drm_file *file)
{
	return file->driver_priv;
}

#endif

Annotation

Implementation Notes