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

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/include/nvif/if0008.h
Extension
.h
Size
775 bytes
Lines
43
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_mmu_v0 {
	__u8  version;
	__u8  dmabits;
	__u8  heap_nr;
	__u8  type_nr;
	__u16 kind_nr;
};

#define NVIF_MMU_V0_HEAP                                                   0x00
#define NVIF_MMU_V0_TYPE                                                   0x01
#define NVIF_MMU_V0_KIND                                                   0x02

struct nvif_mmu_heap_v0 {
	__u8  version;
	__u8  index;
	__u8  pad02[6];
	__u64 size;
};

struct nvif_mmu_type_v0 {
	__u8  version;
	__u8  index;
	__u8  heap;
	__u8  vram;
	__u8  host;
	__u8  comp;
	__u8  disp;
	__u8  kind;
	__u8  mappable;
	__u8  coherent;
	__u8  uncached;
};

struct nvif_mmu_kind_v0 {
	__u8  version;
	__u8  kind_inv;
	__u16 count;
	__u8  data[];
};
#endif

Annotation

Implementation Notes