mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 06:46:49 +07:00
drm/amd/display: fix refclk conversion from khz int to mhz float
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
26247e7779
commit
fb7ae8505e
@ -432,7 +432,7 @@ static void dcn_bw_calc_rq_dlg_ttu(
|
||||
input.clks_cfg.dcfclk_mhz = v->dcfclk;
|
||||
input.clks_cfg.dispclk_mhz = v->dispclk;
|
||||
input.clks_cfg.dppclk_mhz = v->dppclk;
|
||||
input.clks_cfg.refclk_mhz = dc->res_pool->ref_clock_inKhz/1000;
|
||||
input.clks_cfg.refclk_mhz = dc->res_pool->ref_clock_inKhz / 1000.0;
|
||||
input.clks_cfg.socclk_mhz = v->socclk;
|
||||
input.clks_cfg.voltage = v->voltage_level;
|
||||
// dc->dml.logger = pool->base.logger;
|
||||
|
Loading…
Reference in New Issue
Block a user