]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge/dw_hdmi: add support for interlaced video modes
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jul 2015 10:08:25 +0000 (11:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Oct 2015 18:58:40 +0000 (19:58 +0100)
commit1f25c9587f8742e787130e2688804f0a28145703
treedad7bb6bc27bf38af019c3777865953f3ac0a90b
parentb0f888825ef99740c436f4fe48e809a954f20026
drm: bridge/dw_hdmi: add support for interlaced video modes

Add support for interlaced video modes to the dw_hdmi bridge.  This
mainly involves halving the vertical parameters to be programmed into
the bridge registers, and setting the interlace_allowed connector flag.

This brings working 1080i support.  However, 480i and 576i fail to
work due to the lack of proper pixel repetition support, which is not
trivial to add due to the tabular PLL parameterisation.  Hence, we
filter out these modes in our mode_valid() method.

Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/bridge/dw_hdmi.c