drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/power_budget.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/power_budget.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/power_budget.h
Extension
.h
Size
593 bytes
Lines
28
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 nvbios_power_budget_entry {
	u32 min_w;
	u32 avg_w;
	u32 max_w;
};

struct nvbios_power_budget {
	u32 offset;
	u8  ver;
	u8  hlen;
	u8  elen;
	u8  ecount;
	u8  cap_entry;
};

int nvbios_power_budget_header(struct nvkm_bios *,
                               struct nvbios_power_budget *);
int nvbios_power_budget_entry(struct nvkm_bios *, struct nvbios_power_budget *,
                              u8 idx, struct nvbios_power_budget_entry *);

#endif

Annotation

Implementation Notes