Home
last modified time | relevance | path

Searched refs:in_states (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_policy.c126 unsigned int min_fclk_mhz = p->in_states->state_array[0].fabricclk_mhz; in dml2_policy_build_synthetic_soc_states()
127 unsigned int min_dcfclk_mhz = p->in_states->state_array[0].dcfclk_mhz; in dml2_policy_build_synthetic_soc_states()
128 unsigned int min_socclk_mhz = p->in_states->state_array[0].socclk_mhz; in dml2_policy_build_synthetic_soc_states()
137 if (p->in_states->state_array[i].dcfclk_mhz > max_dcfclk_mhz) in dml2_policy_build_synthetic_soc_states()
138 max_dcfclk_mhz = (int) p->in_states->state_array[i].dcfclk_mhz; in dml2_policy_build_synthetic_soc_states()
139 if (p->in_states->state_array[i].fabricclk_mhz > max_fclk_mhz) in dml2_policy_build_synthetic_soc_states()
140 max_fclk_mhz = (int) p->in_states->state_array[i].fabricclk_mhz; in dml2_policy_build_synthetic_soc_states()
141 if (p->in_states->state_array[i].socclk_mhz > max_socclk_mhz) in dml2_policy_build_synthetic_soc_states()
142 max_socclk_mhz = (int) p->in_states->state_array[i].socclk_mhz; in dml2_policy_build_synthetic_soc_states()
143 if (p->in_states->state_array[i].dram_speed_mts > max_uclk_mhz) in dml2_policy_build_synthetic_soc_states()
[all …]
Ddml2_translation_helper.c347 p->in_states = &dml2->v20.scratch.create_scratch.in_states; in dml2_init_soc_states()
355 p->in_states->num_states = 2; in dml2_init_soc_states()
357 p->in_states->state_array[0].socclk_mhz = 620.0; in dml2_init_soc_states()
358 p->in_states->state_array[0].dscclk_mhz = 716.667; in dml2_init_soc_states()
359 p->in_states->state_array[0].phyclk_mhz = 810; in dml2_init_soc_states()
360 p->in_states->state_array[0].phyclk_d18_mhz = 667; in dml2_init_soc_states()
361 p->in_states->state_array[0].phyclk_d32_mhz = 625; in dml2_init_soc_states()
362 p->in_states->state_array[0].dtbclk_mhz = 1564.0; in dml2_init_soc_states()
363 p->in_states->state_array[0].fabricclk_mhz = 450.0; in dml2_init_soc_states()
364 p->in_states->state_array[0].dcfclk_mhz = 300.0; in dml2_init_soc_states()
[all …]
Ddml2_policy.h32 struct soc_states_st *in_states; member
Ddml2_internal_types.h60 struct soc_states_st in_states; member