diff options
author | Emeric Vigier <emeric.vigier@stericsson.com> | 2011-05-17 09:50:32 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:03:57 +0200 |
commit | 74d04bc6d23c821a472af0892cac80fef6589129 (patch) | |
tree | 04f64535c15b220f00b1bce751bea89bed5629ed /include/video | |
parent | dec2e0876946e483e0406266b679a8c7f38e08fc (diff) |
video: mcde: Add dss overlay info
This patch adds the possbility to get info about an overlay
via the dss interface.
It will also add the virtual address to the overlay struct.
ST-Ericsson Linux next: not tested, ER 282779
ST-Ericsson ID: 339343
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I2ece60331ccc0075358f4ea820c1dbab1d2402e7
Signed-off-by: Philippe Cornu <philippe.cornu@stericsson.com>
Signed-off-by: Emeric Vigier <emeric.vigier@stericsson.com>
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23298
Reviewed-by: QATOOLS
Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/mcde.h | 1 | ||||
-rw-r--r-- | include/video/mcde_dss.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h index 4803779b36f..7476b7b32f4 100644 --- a/include/video/mcde.h +++ b/include/video/mcde.h @@ -277,6 +277,7 @@ struct mcde_rectangle { struct mcde_overlay_info { u32 paddr; + u32 *vaddr; u16 stride; /* buffer line len in bytes */ enum mcde_ovly_pix_fmt fmt; diff --git a/include/video/mcde_dss.h b/include/video/mcde_dss.h index c2603b87235..efed79ad023 100644 --- a/include/video/mcde_dss.h +++ b/include/video/mcde_dss.h @@ -30,6 +30,8 @@ int mcde_dss_enable_overlay(struct mcde_overlay *ovl); void mcde_dss_disable_overlay(struct mcde_overlay *ovl); int mcde_dss_apply_overlay(struct mcde_overlay *ovl, struct mcde_overlay_info *info); +void mcde_dss_get_overlay_info(struct mcde_overlay *ovly, + struct mcde_overlay_info *info); int mcde_dss_update_overlay(struct mcde_overlay *ovl, bool tripple_buffer); void mcde_dss_get_native_resolution(struct mcde_display_device *ddev, |