diff options
author | Brandon Syu <Brandon.Syu@amd.com> | 2020-11-12 15:35:52 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-01 16:03:33 -0500 |
commit | 99349a8aeda7a044fc5850924bc3b57c306a1553 (patch) | |
tree | f1ab469549677410bb84b8c45919f1fc0e2ad67c /lib/test_overflow.c | |
parent | 079204508ec0cd32a66c5ca8b9f977383355b181 (diff) | |
download | lwn-99349a8aeda7a044fc5850924bc3b57c306a1553.tar.gz lwn-99349a8aeda7a044fc5850924bc3b57c306a1553.zip |
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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions