]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc12b4eb397b414f5335ab96172dcc2fda1543d9a
treebcf169123a2e6b96d2f0bf76fe4bd78c20389a59
parentdbeb3853d72678a87da8be20089135fdbf63ee40
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