drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.h
Extension
.h
Size
2501 bytes
Lines
73
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 aldebaran_dpm_level {
	bool            enabled;
	uint32_t        value;
	uint32_t        param1;
};

struct aldebaran_dpm_state {
	uint32_t  soft_min_level;
	uint32_t  soft_max_level;
	uint32_t  hard_min_level;
	uint32_t  hard_max_level;
};

struct aldebaran_single_dpm_table {
	uint32_t                count;
	struct aldebaran_dpm_state dpm_state;
	struct aldebaran_dpm_level dpm_levels[MAX_DPM_NUMBER];
};

struct aldebaran_pcie_table {
	uint16_t count;
	uint8_t  pcie_gen[ALDEBARAN_MAX_PCIE_CONF];
	uint8_t  pcie_lane[ALDEBARAN_MAX_PCIE_CONF];
	uint32_t lclk[ALDEBARAN_MAX_PCIE_CONF];
};

struct aldebaran_dpm_table {
	struct aldebaran_single_dpm_table  soc_table;
	struct aldebaran_single_dpm_table  gfx_table;
	struct aldebaran_single_dpm_table  mem_table;
	struct aldebaran_single_dpm_table  eclk_table;
	struct aldebaran_single_dpm_table  vclk_table;
	struct aldebaran_single_dpm_table  dclk_table;
	struct aldebaran_single_dpm_table  fclk_table;
	struct aldebaran_pcie_table        pcie_table;
};

extern void aldebaran_set_ppt_funcs(struct smu_context *smu);

#endif

Annotation

Implementation Notes