]> asedeno.scripts.mit.edu Git - linux.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)
commit173932dec76fbf9f8e5a75a74ccbffc186ce0a4a
tree73469dccf0ed3c855935288be3f7c0d2f11beee5
parentc2ad17c3b2657b476044582e875c88b750011bba
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