linux/drivers/video/omap2
Archit Taneja 2aefad49d8 OMAPDSS: VENC/DISPC: Delay dividing Y resolution for managers connected to VENC
DSS2 driver uses the timings in manager's private data to check the validity of
overlay and manager infos written by the user. For VENC interface, we divide the
Y resolution by half when writing to the DISPC_DIGIT_SIZE register as the
content is interlaced. However, the height of the manager/display with respect
to the content shown through VENC still remains the same.

The VENC driver divides the y_res parameter in omap_video_timings by half, and
then applies the configuration. This leads to manager's private data storing
the wrong Y resolution. Hence, overlay related checks fail.

Ensure that manager's private data stores the original timings, and the Y
resolution is halved only when we write to the DISPC register. This is a hack,
the proper solution would be to pass some sort of interlace parameter which
makes the call whether we should divide y_res or not.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-05-22 11:00:01 +03:00
..
displays OMAPDSS: TFP410: use gpio_set_value_cansleep 2012-05-11 15:09:29 +03:00
dss OMAPDSS: VENC/DISPC: Delay dividing Y resolution for managers connected to VENC 2012-05-22 11:00:01 +03:00
omapfb OMAPFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: Remove video SRAM support 2012-02-23 09:38:26 +02:00
vrfb.c OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00