diff options
author | Thierry Reding <treding@nvidia.com> | 2016-07-12 16:52:22 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-07-14 14:57:04 +0200 |
commit | 64ea25c3bc86c05c7da6c683b86663f4c90158d6 (patch) | |
tree | 3eab0f0db18c90a2384db61acc43c200b6f27f5c /drivers/gpu/drm/tegra | |
parent | drm/tegra: sor: Prepare for generic PM domain support (diff) | |
download | linux-64ea25c3bc86c05c7da6c683b86663f4c90158d6.tar.xz linux-64ea25c3bc86c05c7da6c683b86663f4c90158d6.zip |
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: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/sor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index cb7e06062174..43e934e8fbec 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -1372,6 +1372,10 @@ static enum drm_mode_status tegra_sor_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) { + /* HDMI 2.0 modes are not yet supported */ + if (mode->clock > 340000) + return MODE_NOCLOCK; + return MODE_OK; } |