drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.h
Extension
.h
Size
680 bytes
Lines
23
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 nvkm_nvsw {
	struct nvkm_object object;
	const struct nvkm_nvsw_func *func;
	struct nvkm_sw_chan *chan;
};

struct nvkm_nvsw_func {
	int (*mthd)(struct nvkm_nvsw *, u32 mthd, void *data, u32 size);
};

int nvkm_nvsw_new_(const struct nvkm_nvsw_func *, struct nvkm_sw_chan *,
		   const struct nvkm_oclass *, void *data, u32 size,
		   struct nvkm_object **pobject);
int nvkm_nvsw_new(struct nvkm_sw_chan *, const struct nvkm_oclass *,
		  void *data, u32 size, struct nvkm_object **pobject);
#endif

Annotation

Implementation Notes