drm/amd/pm: populate the bootup LCLK frequency
As for other clock domains. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
72ca82c7d2
commit
7d92c1fd11
@ -226,6 +226,7 @@ struct smu_bios_boot_up_values
|
||||
uint32_t format_revision;
|
||||
uint32_t content_revision;
|
||||
uint32_t fclk;
|
||||
uint32_t lclk;
|
||||
};
|
||||
|
||||
enum smu_table_id
|
||||
|
@ -603,6 +603,11 @@ int smu_v11_0_get_vbios_bootup_values(struct smu_context *smu)
|
||||
(uint8_t)SMU11_SYSPLL1_2_ID,
|
||||
&smu->smu_table.boot_values.fclk);
|
||||
|
||||
smu_v11_0_atom_get_smu_clockinfo(smu->adev,
|
||||
(uint8_t)SMU11_SYSPLL3_1_LCLK_ID,
|
||||
(uint8_t)SMU11_SYSPLL3_1_ID,
|
||||
&smu->smu_table.boot_values.lclk);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user