diff options
author | Archit Taneja <archit@ti.com> | 2012-04-16 09:23:43 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-04-23 09:48:10 +0200 |
commit | c51d921a0cd83ecc768de7176bc7b7c2d76db278 (patch) | |
tree | e2d121eb789e626c56e5f4502e0f094ec289ace7 /drivers/video/omap2/dss/rfbi.c | |
parent | OMAPDSS: DISPC/RFBI: Use dispc_mgr_set_lcd_timings() for setting lcd size (diff) | |
download | linux-c51d921a0cd83ecc768de7176bc7b7c2d76db278.tar.xz linux-c51d921a0cd83ecc768de7176bc7b7c2d76db278.zip |
OMAPDSS: DISPC: Use a common function to set manager timings
Currently, a LCD manager's timings is set by dispc_mgr_set_lcd_timings() and TV
manager's timings is set by dispc_set_digit_size(). Use a common function called
dispc_mgr_set_timings() which sets timings for both type of managers.
We finally want the interface drivers to use an overlay manager function to
configure it's timings, having a common DISPC function would make things
cleaner.
For LCD managers, dispc_mgr_set_timings() sets LCD size and blanking values, for
TV manager, it sets only the TV size since blanking values don't exist for TV.
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/rfbi.c')
-rw-r--r-- | drivers/video/omap2/dss/rfbi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c index 97b6c4a2bce8..a81ffcbfa68a 100644 --- a/drivers/video/omap2/dss/rfbi.c +++ b/drivers/video/omap2/dss/rfbi.c @@ -320,7 +320,7 @@ static void rfbi_transfer_area(struct omap_dss_device *dssdev, u16 width, DSSDBG("rfbi_transfer_area %dx%d\n", width, height); - dispc_mgr_set_lcd_timings(dssdev->manager->id, &timings); + dispc_mgr_set_timings(dssdev->manager->id, &timings); dispc_mgr_enable(dssdev->manager->id, true); @@ -804,7 +804,7 @@ int omap_rfbi_prepare_update(struct omap_dss_device *dssdev, if (*w == 0 || *h == 0) return -EINVAL; - dispc_mgr_set_lcd_timings(dssdev->manager->id, &timings); + dispc_mgr_set_timings(dssdev->manager->id, &timings); return 0; } |