]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: imx: fix support for interlaced modes
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jul 2015 09:22:29 +0000 (10:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Oct 2015 18:58:30 +0000 (19:58 +0100)
commitb0f888825ef99740c436f4fe48e809a954f20026
treeb4eb3f8e5ebc4c7010254969bd283cef0a6888fd
parentde5840bf6366c91f78d7545e744f9fb9c1462819
gpu: imx: fix support for interlaced modes

The support for interlaced video modes seems to be broken; we don't use
anything other than the vtotal/htotal from the timing information to
define the various sync counters.

Freescale patches for interlaced video support contain an alternative
sync counter setup, which we include here.  This setup produces the
hsync and vsync via the normal counter 2 and 3, but moves the display
enable signal from counter 5 to counter 6.  Therefore, we need to
change the display controller setup as well.

The corresponding Freescale patches for this change are:
  iMX6-HDMI-support-interlaced-display-mode.patch
  IPU-fine-tuning-the-interlace-display-timing-for-CEA.patch

This produces a working interlace format output from the IPU.

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/ipu-v3/ipu-dc.c
drivers/gpu/ipu-v3/ipu-di.c