diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-07-22 06:14:00 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-08-18 06:27:16 -0400 |
commit | 8add41900e2177b20c28b64d13d8da8088c9606b (patch) | |
tree | 2bf632e9f6463445bc38ac5081cc810f30cf2427 | |
parent | d10ca826b71b4c1c3ecab846528881aa0cf24266 (diff) |
drm: bridge/dw_hdmi: don't support any pixel doubled modes
As mentioned in the previous commit, the dw-hdmi driver does not support
pixel doubled modes at present; it does not configure the PLL correctly
for these modes. Therefore, filter out the double-clocked modes as we
presently are unable to support them.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/gpu/drm/bridge/dw_hdmi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdmi.c index 1c0ee3476138..8edf4c31f55c 100644 --- a/drivers/gpu/drm/bridge/dw_hdmi.c +++ b/drivers/gpu/drm/bridge/dw_hdmi.c | |||
@@ -1448,6 +1448,10 @@ dw_hdmi_connector_mode_valid(struct drm_connector *connector, | |||
1448 | struct dw_hdmi, connector); | 1448 | struct dw_hdmi, connector); |
1449 | enum drm_mode_status mode_status = MODE_OK; | 1449 | enum drm_mode_status mode_status = MODE_OK; |
1450 | 1450 | ||
1451 | /* We don't support double-clocked modes */ | ||
1452 | if (mode->flags & DRM_MODE_FLAG_DBLCLK) | ||
1453 | return MODE_BAD; | ||
1454 | |||
1451 | if (hdmi->plat_data->mode_valid) | 1455 | if (hdmi->plat_data->mode_valid) |
1452 | mode_status = hdmi->plat_data->mode_valid(connector, mode); | 1456 | mode_status = hdmi->plat_data->mode_valid(connector, mode); |
1453 | 1457 | ||