diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-16 14:11:56 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 08:54:47 +0200 |
commit | c1a9febfafa2a9a9ac09b2de4c80aa96b41a03d1 (patch) | |
tree | e0750e9fdd7b87f5ffa6e963531fc017cdbbcc5c /drivers/video/omap2/omapfb/omapfb-main.c | |
parent | 388c4c6cbb335e69fe23c8d18bd4b0e8dd66901b (diff) | |
download | lwn-c1a9febfafa2a9a9ac09b2de4c80aa96b41a03d1.tar.gz lwn-c1a9febfafa2a9a9ac09b2de4c80aa96b41a03d1.zip |
OMAPDSS: APPLY: move ovl->info to apply.c
struct omap_overlayr contains info and info_dirty fields, both of which
should be internal to apply.c.
This patch moves those fields into ovl_priv data, and names them
user_info and user_info_dirty.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-main.c')
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb-main.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index 91b49b530695..46024ab9dae6 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c @@ -970,16 +970,20 @@ int omapfb_apply_changes(struct fb_info *fbi, int init) outh = var->yres; } } else { - outw = ovl->info.out_width; - outh = ovl->info.out_height; + struct omap_overlay_info info; + ovl->get_overlay_info(ovl, &info); + outw = info.out_width; + outh = info.out_height; } if (init) { posx = 0; posy = 0; } else { - posx = ovl->info.pos_x; - posy = ovl->info.pos_y; + struct omap_overlay_info info; + ovl->get_overlay_info(ovl, &info); + posx = info.pos_x; + posy = info.pos_y; } r = omapfb_setup_overlay(fbi, ovl, posx, posy, outw, outh); |