diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-18 04:14:01 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 01:54:24 -0500 |
commit | 1cb0017813e82c740ef7b60bdaa0aa74eaab6a76 (patch) | |
tree | 397971b6fa57c7e0d1578018642689a5d5ae0678 /drivers/video/omap2/dss/manager.c | |
parent | 6331709bcafe578f63c837a8d726ce8ffdfe0895 (diff) |
OMAPDSS: pass ovl manager to dss_start_update
dss_start_update() takes currently the dss device as a parameter. Change
the parameter to ovl manager, as that is what the dss_start_update()
actually needs. Change the name of the function to
dss_mgr_start_update() to reflect the change.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/manager.c')
-rw-r--r-- | drivers/video/omap2/dss/manager.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/manager.c b/drivers/video/omap2/dss/manager.c index c616f850eaf8..268704bc6c39 100644 --- a/drivers/video/omap2/dss/manager.c +++ b/drivers/video/omap2/dss/manager.c | |||
@@ -896,17 +896,14 @@ static int configure_dispc(void) | |||
896 | return r; | 896 | return r; |
897 | } | 897 | } |
898 | 898 | ||
899 | void dss_start_update(struct omap_dss_device *dssdev) | 899 | void dss_mgr_start_update(struct omap_overlay_manager *mgr) |
900 | { | 900 | { |
901 | struct manager_cache_data *mc; | 901 | struct manager_cache_data *mc; |
902 | struct overlay_cache_data *oc; | 902 | struct overlay_cache_data *oc; |
903 | const int num_ovls = dss_feat_get_num_ovls(); | 903 | const int num_ovls = dss_feat_get_num_ovls(); |
904 | const int num_mgrs = dss_feat_get_num_mgrs(); | 904 | const int num_mgrs = dss_feat_get_num_mgrs(); |
905 | struct omap_overlay_manager *mgr; | ||
906 | int i; | 905 | int i; |
907 | 906 | ||
908 | mgr = dssdev->manager; | ||
909 | |||
910 | mc = &dss_cache.manager_cache[mgr->id]; | 907 | mc = &dss_cache.manager_cache[mgr->id]; |
911 | 908 | ||
912 | mc->do_manual_update = true; | 909 | mc->do_manual_update = true; |
@@ -929,7 +926,7 @@ void dss_start_update(struct omap_dss_device *dssdev) | |||
929 | mc->shadow_dirty = false; | 926 | mc->shadow_dirty = false; |
930 | } | 927 | } |
931 | 928 | ||
932 | dssdev->manager->enable(dssdev->manager); | 929 | mgr->enable(mgr); |
933 | } | 930 | } |
934 | 931 | ||
935 | static void dss_apply_irq_handler(void *data, u32 mask) | 932 | static void dss_apply_irq_handler(void *data, u32 mask) |