OSDN Git Service

drm/amd/display: fix dp_hdmi_max_pixel_clk units
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Tue, 19 Mar 2019 19:21:50 +0000 (15:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:53:27 +0000 (13:53 -0500)
commite5490464f45db8b8006bc62d29ec9280debd0ef9
treebcf169123a2e6b96d2f0bf76fe4bd78c20389a59
parentb62f95d1625100edfa473387fc250d666cf05998
drm/amd/display: fix dp_hdmi_max_pixel_clk units

[Why]
We are incorrectly using dp_hdmi_max_pixel_clk because the units are not clear.

[How]
Rename to dp_hdmi_max_pixel_clk_in_khz, and change mode timing validation to use
the value correctly.

Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc_types.h