summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorEmeric Vigier <emeric.vigier@stericsson.com>2011-05-17 09:50:32 +0200
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:15:26 +0200
commit1438364620eea63e47dc7cdf49a7a84de0175e39 (patch)
treebdc71abc36f4fed939964b28fca41ec2264b283b /include/video
parentea84da40d999b8a013b1fa89e0b6b3b9be2fd349 (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.h1
-rw-r--r--include/video/mcde_dss.h2
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,