]> 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)
commitfef820d7273f41462ddf8d7eafb1b53a616071f1
treedad7bb6bc27bf38af019c3777865953f3ac0a90b
parent176d0668398b3114e7b568cc03fb3d886b446391
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