drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/handles.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/handles.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/handles.h
Extension
.h
Size
643 bytes
Lines
19
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

#ifndef __NVKM_RM_HANDLES_H__
#define __NVKM_RM_HANDLES_H__

/* RMAPI handles for various objects allocated from GSP-RM with RM_ALLOC. */

#define NVKM_RM_CLIENT(id)         (0xc1d00000 | (id))
#define NVKM_RM_CLIENT_MASK         0x0000ffff
#define NVKM_RM_DEVICE              0xde1d0000
#define NVKM_RM_SUBDEVICE           0x5d1d0000
#define NVKM_RM_DISP                0x00730000
#define NVKM_RM_VASPACE             0x90f10000
#define NVKM_RM_CHAN(chid)         (0xf1f00000 | (chid))
#define NVKM_RM_THREED              0x97000000
#endif

Annotation

Implementation Notes