]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: implement edid max TMDS clock check in DC
authorMichael Strauss <michael.strauss@amd.com>
Tue, 26 May 2020 21:09:31 +0000 (17:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:25 +0000 (01:59 -0400)
commit629a544cafacf5f4cd8fab7bcb0617348bf95719
tree85311e5648b8f9a63def6f1351f614a29496851f
parentf8d3db3e42049a8b89817ef4ef4b301aa3ab15b2
drm/amd/display: implement edid max TMDS clock check in DC

[WHY]
Currently DC doesn't check requested pixel clock against an EDID
specified TMDS max clock if it exists, passing modes that should fail

[HOW]
Add max TMDS clk to edid caps and perform check during validation

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c