diff options
| author | Thierry Reding <treding@nvidia.com> | 2016-07-12 10:52:22 -0400 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2016-07-14 08:57:04 -0400 |
| commit | 64ea25c3bc86c05c7da6c683b86663f4c90158d6 (patch) | |
| tree | 3eab0f0db18c90a2384db61acc43c200b6f27f5c /drivers/gpu/drm/tegra | |
| parent | f8c79120aa1d9eedb36cdadbd23489056a9f7b90 (diff) | |
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 | |||
| 1372 | tegra_sor_connector_mode_valid(struct drm_connector *connector, | 1372 | tegra_sor_connector_mode_valid(struct drm_connector *connector, |
| 1373 | struct drm_display_mode *mode) | 1373 | struct drm_display_mode *mode) |
| 1374 | { | 1374 | { |
| 1375 | /* HDMI 2.0 modes are not yet supported */ | ||
| 1376 | if (mode->clock > 340000) | ||
| 1377 | return MODE_NOCLOCK; | ||
| 1378 | |||
| 1375 | return MODE_OK; | 1379 | return MODE_OK; |
| 1376 | } | 1380 | } |
| 1377 | 1381 | ||
