drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.h
Extension
.h
Size
1862 bytes
Lines
48
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 dml2_policy_build_synthetic_soc_states_params {
	const struct soc_bounding_box_st *in_bbox;
	struct soc_states_st *in_states;
	struct soc_states_st *out_states;
	int *dcfclk_stas_mhz;
	int num_dcfclk_stas;
};

struct dml2_policy_build_synthetic_soc_states_scratch {
	struct soc_state_bounding_box_st entry;
};

int dml2_policy_build_synthetic_soc_states(struct dml2_policy_build_synthetic_soc_states_scratch *s,
	struct dml2_policy_build_synthetic_soc_states_params *p);

void build_unoptimized_policy_settings(enum dml_project_id project, struct dml_mode_eval_policy_st *policy);

#endif

Annotation

Implementation Notes