提交 64ea25c3 编写于 作者: T Thierry Reding

drm/tegra: sor: Reject HDMI 2.0 modes

Enabling HDMI 2.0 modes requires extra programming and will not work
with the current driver, so reject all those modes.
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 f8c79120
...@@ -1372,6 +1372,10 @@ static enum drm_mode_status ...@@ -1372,6 +1372,10 @@ static enum drm_mode_status
tegra_sor_connector_mode_valid(struct drm_connector *connector, tegra_sor_connector_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode) struct drm_display_mode *mode)
{ {
/* HDMI 2.0 modes are not yet supported */
if (mode->clock > 340000)
return MODE_NOCLOCK;
return MODE_OK; return MODE_OK;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册