diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-01-07 23:52:15 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-02-23 17:19:00 +0100 |
commit | 081c80e85feabe9a0081f4db940fccb6443b81fb (patch) | |
tree | 54a32b59ec70b0d133595675266e208bdaeb8523 /drivers/gpu/drm/imx/parallel-display.c | |
parent | 89ce4b0f4e7adda75ac7eec6aaa9b3516390cef2 (diff) | |
download | linux-081c80e85feabe9a0081f4db940fccb6443b81fb.tar.bz2 |
drm/imx: dw_hdmi-imx: add mode_valid callback prune unsupported modes
This patch limits the pixel clock to 13.4 MHz - 266 MHz for i.MX6Q
and 13.5 MHz - 270 MHz for i.MX6DL, which is the range documented
in the HDMI Transmitter chapter of the respective reference manuals.
Without this patch, when connected to a monitor capable of 2160p60
modes, dw_hdmi will happily report this mode and the IPU code will
cause a division by zero in ipu_di_config_clock when trying to figure
out how to divide the 264 MHz HSP clock down to ~600 MHz.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions