summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_types.h
diff options
context:
space:
mode:
authorMichael Strauss <michael.strauss@amd.com>2020-05-26 17:09:31 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-07-01 01:59:25 -0400
commit0cc722248a8e608f4759f6df46e76f7c2315bfba (patch)
tree85311e5648b8f9a63def6f1351f614a29496851f /drivers/gpu/drm/amd/display/dc/dc_types.h
parenta85f148ed325e9470b01196eca383d608a891d46 (diff)
downloadlinux-0cc722248a8e608f4759f6df46e76f7c2315bfba.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index d7b9d311d9e0..f51e5766d8f5 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -261,6 +261,9 @@ struct dc_edid_caps {
bool edid_hdmi;
bool hdr_supported;
+ uint32_t max_tmds_clk_mhz;
+ uint32_t max_forum_tmds_clk_mhz;
+
struct dc_panel_patch panel_patch;
};