drivers/gpu/drm/nouveau/nvkm/subdev/privring/gm200.c

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/nvkm/subdev/privring/gm200.c

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/nvkm/subdev/privring/gm200.c
Extension
.c
Size
1553 bytes
Lines
42
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

#include "priv.h"

#include <subdev/gsp.h>

static const struct nvkm_subdev_func
gm200_privring = {
	.intr = gk104_privring_intr,
};

int
gm200_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
		   struct nvkm_subdev **pprivring)
{
	if (nvkm_gsp_rm(device->gsp))
		return -ENODEV;

	return nvkm_subdev_new_(&gm200_privring, device, type, inst, pprivring);
}

Annotation

Implementation Notes