commit | 7e0b367db85ef7b91399006253759a024eab7653 | [log] [tgz] |
---|---|---|
author | Brandon Syu <Brandon.Syu@amd.com> | Thu Nov 12 15:35:52 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 02 22:53:01 2020 -0500 |
tree | 47a84e4cb945b2e925d4299ec53cc38efdfbfe5e | |
parent | acab02c1af43d3a9051524579b1c3dcfbfa5479d [diff] |
drm/amd/display: Init clock value by current vbios CLKs [Why] While booting into OS, driver updates DPP/DISP CLKs. But init clock value is zero which is invalid. [How] Get current clocks value to update init clocks. To avoid underflow. Signed-off-by: Brandon Syu <Brandon.Syu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>