diff options
author | Archit Taneja <archit@ti.com> | 2012-06-25 14:58:48 +0530 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-06-29 16:27:59 +0530 |
commit | 6c6f510afb86e3c77c351dfa20cbb8ca834abad9 (patch) | |
tree | 72188f07c300e04f30d059bf502f651d2cbeb829 /drivers/video/omap2/dss/apply.c | |
parent | c47cdb3088581f9d744b03399e8b4e89a56a111b (diff) | |
download | op-kernel-dev-6c6f510afb86e3c77c351dfa20cbb8ca834abad9.zip op-kernel-dev-6c6f510afb86e3c77c351dfa20cbb8ca834abad9.tar.gz |
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>
Diffstat (limited to 'drivers/video/omap2/dss/apply.c')
-rw-r--r-- | drivers/video/omap2/dss/apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index b237b57..0fefc68 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c @@ -571,7 +571,7 @@ static void dss_ovl_write_regs(struct omap_overlay *ovl) mp = get_mgr_priv(ovl->manager); - replication = dss_use_replication(ovl->manager->device, oi->color_mode); + replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode); r = dispc_ovl_setup(ovl->id, oi, replication, &mp->timings); if (r) { |