drivers/gpu/drm/nouveau/include/nvif/conn.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/include/nvif/conn.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/include/nvif/conn.h
Extension
.h
Size
762 bytes
Lines
39
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 nvif_conn {
	struct nvif_object object;
	u32 id;

	struct {
		enum {
			NVIF_CONN_VGA,
			NVIF_CONN_TV,
			NVIF_CONN_DVI_I,
			NVIF_CONN_DVI_D,
			NVIF_CONN_LVDS,
			NVIF_CONN_LVDS_SPWG,
			NVIF_CONN_HDMI,
			NVIF_CONN_DP,
			NVIF_CONN_EDP,
		} type;
	} info;
};

int nvif_conn_ctor(struct nvif_disp *, const char *name, int id, struct nvif_conn *);
void nvif_conn_dtor(struct nvif_conn *);

static inline int
nvif_conn_id(struct nvif_conn *conn)
{
	return conn->object.handle;
}

int nvif_conn_event_ctor(struct nvif_conn *, const char *name, nvif_event_func, u8 types,
			 struct nvif_event *);
#endif

Annotation

Implementation Notes