]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: OVERLAY: Clean up replication checking
authorArchit Taneja <archit@ti.com>
Mon, 25 Jun 2012 09:28:48 +0000 (14:58 +0530)
committerArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 10:57:59 +0000 (16:27 +0530)
commit7acbb2799a21e175690840d5baaa6f59d9cb42be
tree72188f07c300e04f30d059bf502f651d2cbeb829
parente1cd25c58f1d600f5b33471019478017ba2403fe
OMAPDSS: OVERLAY: Clean up replication checking

Replication logic for an overlay depends on the color mode in which it is
configured and the video port width of the manager it is connected to.

video port width now held in dss_lcd_mgr_config in the manager's private
data in APPLY. Use this instead of referring to the omap_dss_device connected to
the manager.

Replication is enabled in the case of TV manager, the video_port_width is set to
a default value of 24 for TV manager.

Make the replication checking an overlay function since it's more of an overlay
characteristic than a display characteristic.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/display.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/overlay.c