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)
commit0cc722248a8e608f4759f6df46e76f7c2315bfba
tree85311e5648b8f9a63def6f1351f614a29496851f
parenta85f148ed325e9470b01196eca383d608a891d46
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