]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Properly set u clock
authorAidan Wood <Aidan.Wood@amd.com>
Fri, 22 Mar 2019 18:45:12 +0000 (14:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:08 +0000 (09:34 -0500)
commitc234c00121762056eb0f19df5b1b76b759c587a6
tree73469dccf0ed3c855935288be3f7c0d2f11beee5
parent13e2cd8fb8c08e576e4c65ead33fbc18253090b6
drm/amd/display: Properly set u clock

[Why]
u clk set request was being sent in units of mts, when it needed to be
in units of Mhz

[How]
add a division by 16 to convert from mts to Mhz

Signed-off-by: Aidan Wood <Aidan.Wood@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c